Get Resource (Raw)
POST/resource/raw
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns the raw metadata of the configuration of a resource at a given point in time.
Replacement Endpoint: Get Asset
Generally, the response object contains the raw JSON blob as is received from the source cloud service provider API.
Only the rrn parameter in the request body is used for this API. Ignore the findingType field for this API.
You can find the timelineItemId for your resource from the timeline results that Get Resource Timeline returns.
An example request body is:
{
"rrn": "rrn::instance:us-east-1:i-xxxxxxxxxx",
"timelineItemId": "xxxxxxxxxxxxxx"
}
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
object
{}
invalid_parameter_value
not_found