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

Assessment Results

Operations for managing assessment results

Get assessment profile results

post

Retrieve assessment profile results with optional filtering based on the last successful evaluation.

Filtering Support:

  • Field (labels): contains, not_contains

Note: This API does not support sorting or pagination. Sorting will not take effect even if it is specified in the payload. The results will not return the results based on sorting'

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 assessment profile results

application/json
post/public_api/v1/compliance/get_assessment_results
POST /public_api/v1/compliance/get_assessment_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: 85

{
  "request_data": {
    "filters": [
      {
        "field": "labels",
        "operator": "contains",
        "value": "aws"
      }
    ]
  }
}
{
  "reply": {
    "total_count": 150,
    "result_count": 25,
    "standard_filter_count": 25,
    "standard_total_count": 150,
    "data": [
      {
        "TYPE": "standard",
        "SCORE": null,
        "ASSET_GROUP_NAME": null,
        "ASSET_GROUP_ID": null,
        "ADDITIONAL_DATA": null,
        "LAST_EVALUATION_TIME": 1751533328000,
        "STANDARD_NAME": "CIS Amazon Elastic Kubernetes Service (EKS) Benchmark v1.4",
        "PROFILES_COUNT": 3,
        "STANDARD_ID": 9101546381587280000,
        "LABELS": [
          "eks"
        ],
        "PATH": [
          "CIS Amazon Elastic Kubernetes Service (EKS) Benchmark v1.4"
        ],
        "FAILED_CONTROLS_SEVERITY": [
          {
            "value": "CRITICAL",
            "count": 0,
            "pretty_name": "Critical"
          },
          {
            "value": "HIGH",
            "count": 0,
            "pretty_name": "High"
          },
          {
            "value": "MEDIUM",
            "count": 1,
            "pretty_name": "Medium"
          },
          {
            "value": "LOW",
            "count": 2,
            "pretty_name": "Low"
          },
          {
            "value": "INFORMATIONAL",
            "count": 0,
            "pretty_name": "Informational"
          }
        ],
        "CONTROLS_STATUS": [
          {
            "value": "PASSED",
            "count": 0,
            "pretty_name": "Passed"
          },
          {
            "value": "NOT_ASSESSED",
            "count": 153,
            "pretty_name": "Not Assessed"
          },
          {
            "value": "FAILED",
            "count": 0,
            "pretty_name": "Failed"
          }
        ],
        "ASSESSMENT_PROFILE_REVISION": null
      }
    ]
  }
}

Last updated

Was this helpful?