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

Control Findings

REST API for retrieving compliance results for an asset.

Get asset compliance results

post

Retrieve compliance standard and control results for a specific asset ID, with optional filtering, sorting and pagination.

Required params:

  • asset_id (string) - The asset identifier

  • last_evaluation_time (integer) - Unix timestamp in milliseconds for the evaluation time

Filtering Support:

  • String fields (standard, category, control, source): eq, neq, contains, not_contains

  • Status fields (status, severity): eq, neq

  • Status valid values: [FAILED, PASSED, NOT_ASSESSED]

  • Severity valid values: [SEV_010_INFO, SEV_020_LOW, SEV_030_MEDIUM, SEV_040_HIGH, SEV_050_CRITICAL]

Sorting Support:

  • Available fields: standard, category, control, severity, status

  • Sort orders: asc, desc

  • Default: standard in ascending order

Pagination: (max number of elements is 100)

Authorizations
x-xdr-auth-idstringRequired

XDR API Key ID for authentication

AuthorizationstringRequired

XDR API Key for authentication

Body

Request payload for retrieving asset compliance data. Supports filtering, sorting, and pagination.

Responses
401

Authentication required

application/json

Standard error response returned when the API request fails.

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

{
  "request_data": {
    "asset_id": "eea3102e81bc8cf10b43168a7a1ff27cb539a7325428f3cd956240472335c6da",
    "last_evaluation_time": 1763669115000,
    "filters": [],
    "sort": {},
    "search_from": 0,
    "search_to": 100
  }
}
{
  "reply": {
    "err_code": 401,
    "err_msg": "Authentication credentials were not provided or are invalid",
    "err_extra": {}
  }
}

Last updated

Was this helpful?