Get Resource
POST/resource
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.
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
- application/json; charset=UTF-8
Body
External Findings Severitys to exclude
External Finding Types
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
Restricted Resource Name
Restricted Resource Name
Timeline Item ID
Responses
- 200
- 400
- 404
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
Account group name
Account ID
Account name
allowDrillDown
Asset ID
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, IBM
]
Cloud Type
Creation timestamp
Raw JSON data for the resource
Deleted
dynamicData object
Dynamic data
Has risk factors
Has external finding
Has external integration
Has network
ID
Insertion timestamp
Name
Region ID
Region name
allowDrillDown
Resource type
Risk grade
rrn object
Model for RRN
Account ID
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, IBM
]
Cloud type
Hashed generated ID
Region ID
Resource ID
Resource type
Service
State ID
tags object
Tags
URL
Virtual private cloud ID
Virtual private cloud name
{
"accountGroupName": "string",
"accountId": "string",
"accountName": "string",
"allowDrillDown": true,
"assetId": "string",
"cloudType": "ALL",
"createdTs": 0,
"data": {},
"deleted": true,
"dynamicData": {},
"hasExtFindingRiskFactors": true,
"hasExternalFinding": true,
"hasExternalIntegration": true,
"hasNetwork": true,
"id": "string",
"insertTs": 0,
"name": "string",
"regionId": "string",
"regionName": "string",
"resourceConfigJsonAvailable": true,
"resourceType": "string",
"riskGrade": "string",
"rrn": {
"accountId": "string",
"cloudType": "ALL",
"idmapId": "string",
"regionId": "string",
"resourceId": "string",
"resourceType": "string"
},
"service": "string",
"stateId": "string",
"tags": {},
"url": "string",
"vpcId": "string",
"vpcName": "string"
}
bad_request / no_results / invalid_parameter_value
not_found