Get Compliance Trend - GET
GET/compliance/posture/trend
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns a compliance posture summary that describes the passed/failed statistics trend.
Replacement Endpoint: Get Compliance Trend V2 - GET
This endpoint will only be able to access data from the past 1 year. This change is implemented to optimize system performance and reduce data storage requirements of deprecated endpoints.
Request
Query Parameters
Possible values: [relative
]
Time type
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
Cloud account
Cloud type
Cloud region
Policy compliance standard name
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