Get Resource Network Settings
POST/resource/network
Fetch network port settings and configuration for a 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
success / no_results
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
[
{
"access": "string",
"direction": "string",
"id": 0,
"ips": "string",
"ports": "string",
"priority": 0,
"protocol": "string"
}
]
bad_request / invalid_parameter_value