For the complete documentation index, see llms.txt. This page is also available as Markdown.

Results

Operations for retrieving compliance results and findings

Get control failed results

post

Get the failed findings and issues for a specific compliance control.

Required license: Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

Authorizations
x-xdr-auth-idstringRequired

API Key ID for authentication

AuthorizationstringRequired

API Key for authentication

Body
Responses
200

Successfully retrieved failed results

application/json
post/public_api/v1/compliance/get_control_failed_results
POST /public_api/v1/compliance/get_control_failed_results HTTP/1.1
Host: api.xdr.us.paloaltonetworks.com
x-xdr-auth-id: YOUR_API_KEY
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 106

{
  "request_data": {
    "control_revision": "text",
    "assessment_profile_revision": "text",
    "last_evaluation_time": 1
  }
}
{
  "reply": {
    "data": {
      "findings": {
        "ids": [
          "45667890n85678908765456789bkk"
        ],
        "value": 1
      },
      "issues": [
        {
          "name": "SEV_020_LOW",
          "pretty_name": "Low",
          "value": 0,
          "ids": []
        },
        {
          "name": "SEV_030_MEDIUM",
          "pretty_name": "Medium",
          "value": 0,
          "ids": []
        },
        {
          "name": "SEV_040_HIGH",
          "pretty_name": "High",
          "value": 1,
          "ids": [
            "4537893ijnmskiu2y6t5rxt7y789ok"
          ]
        },
        {
          "name": "SEV_050_CRITICAL",
          "pretty_name": "Critical",
          "value": 0,
          "ids": []
        }
      ]
    }
  }
}

Get rule failed results

post

Get the failed findings and issues for a specific rule.

Required license: Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

Authorizations
x-xdr-auth-idstringRequired

API Key ID for authentication

AuthorizationstringRequired

API Key for authentication

Body
Responses
200

Successfully retrieved rule failed results

application/json
post/public_api/v1/compliance/get_rule_failed_results
POST /public_api/v1/compliance/get_rule_failed_results HTTP/1.1
Host: api.xdr.us.paloaltonetworks.com
x-xdr-auth-id: YOUR_API_KEY
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 123

{
  "request_data": {
    "control_revision": "text",
    "assessment_profile_revision": "text",
    "last_evaluation_time": 1,
    "rule_id": "text"
  }
}
{
  "reply": {
    "data": {
      "findings": {
        "ids": [
          "45667890n85678908765456789bkk"
        ],
        "value": 1
      },
      "issues": [
        {
          "name": "SEV_020_LOW",
          "pretty_name": "Low",
          "value": 0,
          "ids": []
        },
        {
          "name": "SEV_030_MEDIUM",
          "pretty_name": "Medium",
          "value": 0,
          "ids": []
        },
        {
          "name": "SEV_040_HIGH",
          "pretty_name": "High",
          "value": 1,
          "ids": [
            "4567893ijnmskiu7y6t5rxt6y789ok"
          ]
        },
        {
          "name": "SEV_050_CRITICAL",
          "pretty_name": "Critical",
          "value": 0,
          "ids": []
        }
      ]
    }
  }
}

Last updated

Was this helpful?