Get Compliance Trend for Requirement ID V2 - GET
GET/v2/compliance/posture/trend/:complianceId/:requirementId
Returns the compliance posture summary that describes the passed/failed statistics trend for the given compliance standard ID and compliance requirement ID.
Request
Path Parameters
Compliance standard ID
Compliance requirement ID
Query Parameters
Cloud account
Cloud type
Cloud region
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