Skip to main content

Get Resource

POST 

/resource

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Returns detailed information for the resource with the given rrn.

info

Replacement  Endpoint: Get Asset

Generally, the data field in the response object contains the raw JSON blob as is received from the source cloud service provider API for the given resource.

Only the rrn parameter in the request body is used for this API. Ignore the timelineItemId and findingType fields for this API.

An example request body is:

{
"rrn": "rrn::storageBucket:us-east-1:123456789012:test-bucket"
}

Request

Body

    excludeSeverityList string[]

    External Findings Severitys to exclude

    findingType string[]

    External Finding Types

    riskFactors string[]

    Possible values: [CRITICAL_SEVERITY, HIGH_SEVERITY, MEDIUM_SEVERITY, HAS_FIX, REMOTE_EXECUTION, DOS, RECENT_VULNERABILITY, EXPLOIT_EXISTS, ATTACK_COMPLEXITY_LOW, ATTACK_VECTOR_NETWORK, REACHABLE_FROM_THE_INTERNET, LISTENING_PORTS, CONTAINER_IS_RUNNING_AS_ROOT, NO_MANDATORY_SECURITY_PROFILE_APPLIED, RUNNING_AS_PRIVILEGED_CONTAINER, PACKAGE_IN_USE]

    External finding risk factors

    rrn string

    Restricted Resource Name

    rrnList string[]

    Restricted Resource Name

    timelineItemId string

    Timeline Item ID

Responses

successful operation

Schema
    accountGroupName string

    Account group name

    accountId string

    Account ID

    accountName string

    Account name

    allowDrillDown boolean

    allowDrillDown

    assetId string

    Asset ID

    cloudType string

    Possible values: [ALL, AWS, AZURE, GCP, ALIBABA_CLOUD, OCI, IBM]

    Cloud Type

    createdTs int64

    Creation timestamp

    data object

    Raw JSON data for the resource

    deleted boolean

    Deleted

    dynamicData object

    Dynamic data

    property name* object
    hasExtFindingRiskFactors boolean

    Has risk factors

    hasExternalFinding boolean

    Has external finding

    hasExternalIntegration boolean

    Has external integration

    hasNetwork boolean

    Has network

    id string

    ID

    insertTs int64

    Insertion timestamp

    name string

    Name

    regionId string

    Region ID

    regionName string

    Region name

    resourceConfigJsonAvailable boolean

    allowDrillDown

    resourceType string

    Resource type

    riskGrade string

    Risk grade

    rrn object

    Model for RRN

    accountId string

    Account ID

    cloudType string

    Possible values: [ALL, AWS, AZURE, GCP, ALIBABA_CLOUD, OCI, IBM]

    Cloud type

    idmapId string

    Hashed generated ID

    regionId string

    Region ID

    resourceId string

    Resource ID

    resourceType string

    Resource type

    service string

    Service

    stateId string

    State ID

    tags object

    Tags

    property name* string
    url string

    URL

    vpcId string

    Virtual private cloud ID

    vpcName string

    Virtual private cloud name

Loading...