Get Compliance Trend for Standard ID V2 - GET
GET/v2/compliance/posture/trend/:complianceId
Returns a compliance posture summary that describes the passed/failed statistics trend for the specified compliance standard ID.
The fields request body parameter allows you to request specific fields. These fields are separate from the filters you specify. The following are valid fields items.
- cloud.account
- account.group
- cloud.region
- cloud.type
- policy.complianceStandard
- policy.complianceRequirement
- policy.complianceSection
The filters request body parameter enables you to narrow your request for alerts. See Get Compliance Overview Filters and Options for for an API request to list all the valid filters.
Request
Path Parameters
Compliance standard ID
Query Parameters
Cloud account
Cloud type
Cloud region
Policy compliance requirement name
Policy compliance section ID
Responses
- 200
- 400
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
Number of scanned compliance resources whose highest policy failure is critical
Number of failed scanned compliance resources
Number of scanned compliance resources that failed high severity policies
Number of scanned compliance resources whose highest policy failure is informational
Number of scanned compliance resources whose highest policy failure is low
Number of scanned compliance resources whose highest policy failure is medium
Number of passed scanned compliance resources
Timestamp
Total number of scanned compliance resources
[
{
"criticalSeverityFailedResources": 0,
"failedResources": 0,
"highSeverityFailedResources": 0,
"informationalSeverityFailedResources": 0,
"lowSeverityFailedResources": 0,
"mediumSeverityFailedResources": 0,
"passedResources": 0,
"timestamp": 0,
"totalResources": 0
}
]
bad_request