Get Resource Timeline
POST/resource/timeline
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns a timeline of events and alerts for the given resource.
Replacement Endpoint: Get Asset
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::instance:us-east-1:i-xxxxxxxxxx"
}
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
- Array [
- Array [
- ]
- ]
Possible values: [STATE_CHANGE
, EVENT
, VULNERABILITY
]
vulnerabilities object[]
[
{
"alertIds": [
"string"
],
"discoveredTs": 0,
"eventName": "string",
"eventType": "string",
"firstState": true,
"id": "string",
"previousStateId": "string",
"similarSince": 0,
"similarStateCount": 0,
"timestamp": 0,
"type": "STATE_CHANGE",
"user": "string",
"vulnerabilities": [
{
"id": "string",
"url": "string"
}
]
}
]
invalid_parameter_value
not_found