v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBGet the rule-based view of compliance findings
This endpoint is deprecated. Use the Security Monitoring - Search Security Findings endpoint instead.
Get an aggregated view of compliance rules with their pass, fail, and muted finding counts. Supports filtering by compliance framework, framework version, and additional query filters.
Query parameters
Timestamp of the query end, in milliseconds since the Unix epoch.
Compliance framework handle to filter rules and findings by.
Version of the compliance framework to filter rules and findings by.
When true, returns findings without a framework_version tag. Used for findings from custom frameworks or those created before framework versioning was introduced.
When true, includes rules in the response that have no associated findings.
Set to true when the requested framework is a custom framework.
Additional event-platform filters applied to the underlying findings query. For example, scored:true project_id:datadog-prod-us5.
Response
OK
Example response
{
"data": {
"attributes": {
"count": 1,
"rules": [
{
"compliance_frameworks": [
{
"control": "164.308-a-4-i",
"framework": "hipaa",
"is_default": true,
"requirement": "Information-Access-Management",
"version": "1"
}
],
"enabled": true,
"id": "qjx-udx-xo8",
"name": "IAM roles should not allow untrusted GitHub Actions to assume them",
"resourceAttributes": [
"instance_id"
],
"resourceCategory": "identity",
"resourceType": "aws_iam_role",
"stats": {
"pass": 3
},
"status": "critical",
"tags": [
"security:compliance"
],
"type": "cloud_configuration"
}
]
},
"id": "JSONAPI_USELESS_ID",
"type": "rule_based_view"
}
}