Get Posture Statistics
Changed onGets the history of database stats saved in the database
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v2/posture-stats
- Auth: one of:
- HTTP bearer
- API key in header Authorization and API key in header RequestDate and API key in header Signature
Query parameters
Sort by column. Can be used multiple times; prepend a hyphen for descending order. See parameter description for details about which columns are sortable.
Sortable columns are domain_sid, exposure_index, tier_zero_count, critical_risk_count, id, created_at, updated_at, deleted_at.
Lower bound for created_at; to return posture stats starting at a specific date/time. This filter has been deprecated, please use created_at instead.
Upper bound for created_at; to return posture stats upto a specific date/time. This filter has been deprecated, please use created_at instead.
Filter results by column string value. Valid filter predicates are eq, ~eq, neq.
Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column integer value. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column timestamp value formatted as an RFC-3339 string. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column timestamp value formatted as an RFC-3339 string. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Filter results by column timestamp value formatted as an RFC-3339 string. Valid filter predicates are eq, neq, gt, gte, lt, lte.
Response
OK
Changes
- breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$to thequeryrequest parameterasset_group_tag_id - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$to thequeryrequest parametercritical_risk_count - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$to thequeryrequest parameterexposure_index - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$to thequeryrequest parameterid - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$to thequeryrequest parametertier_zero_count - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$to thequeryrequest parametercreated_at - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$to thequeryrequest parameterdeleted_at - breaking
added the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$to thequeryrequest parameterupdated_at - breaking
added the pattern
^((eq|~eq|neq):)?[^:]+$to thequeryrequest parameterdomain_sid - info
for the
queryrequest parameterasset_group_tag_id, the type was generalized fromintegertostring - info
for the
queryrequest parametercreated_at, the format was generalized fromdate-timeto no format - info
for the
queryrequest parametercritical_risk_count, the type was generalized fromintegertostring - info
for the
queryrequest parameterdeleted_at, the format was generalized fromdate-timeto no format - info
for the
queryrequest parameterexposure_index, the type was generalized fromintegertostring - info
for the
queryrequest parameterid, the type was generalized fromintegertostring - info
for the
queryrequest parametertier_zero_count, the type was generalized fromintegertostring - info
for the
queryrequest parameterupdated_at, the format was generalized fromdate-timeto no format
- breaking
- breaking
for the
queryrequest parameterasset_group_tag_id, the type changed fromstringtointeger - breaking
for the
queryrequest parametercreated_at, the format changed from no format todate-time - breaking
for the
queryrequest parametercritical_risk_count, the type changed fromstringtointeger - breaking
for the
queryrequest parameterdeleted_at, the format changed from no format todate-time - breaking
for the
queryrequest parameterexposure_index, the type changed fromstringtointeger - breaking
for the
queryrequest parameterid, the type changed fromstringtointeger - breaking
for the
queryrequest parametertier_zero_count, the type changed fromstringtointeger - breaking
for the
queryrequest parameterupdated_at, the format changed from no format todate-time - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$from thequeryrequest parameterasset_group_tag_id - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$from thequeryrequest parametercritical_risk_count - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$from thequeryrequest parameterexposure_index - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$from thequeryrequest parameterid - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?-?[0-9]+$from thequeryrequest parametertier_zero_count - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$from thequeryrequest parametercreated_at - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$from thequeryrequest parameterdeleted_at - info
removed the pattern
^((eq|neq|gt|gte|lt|lte):)?[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,9})?([Zz]|-[0-9]{2}:[0-9]{2})$from thequeryrequest parameterupdated_at - info
removed the pattern
^((eq|~eq|neq):)?[^:]+$from thequeryrequest parameterdomain_sid
- breaking