Reports
Operations for managing reports
Retrieve archived compliance assessment reports with optional filtering, sorting and pagination.
The response is concatenated using AND condition (OR is not supported)
The maximum result set size is >100
Offset is the zero-based number of assessment profiles from the start of the result set
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 compliance reports
application/json
400
Bad request - invalid input parameters for reports
application/json
500
Internal server error
application/json
post/public_api/v1/compliance/get_reports
POST /public_api/v1/compliance/get_reports 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: 128
{
"request_data": {
"search_from": 0,
"search_to": 1,
"filters": [
{
"field": "standard_name",
"operator": "neq",
"value": "PCI DSS v4.0.1"
}
]
}
}{
"reply": {
"total_count": 1,
"result_count": 1,
"filter_count": 1,
"reports": [
{
"report_id": 2,
"standard_name": "Secure Controls Framework (SCF) v2022.2.1",
"assessment_profile": "test-p1",
"asset_group": "Asset group for AWS, Azure & GCP",
"score": 63,
"controls_status": [
{
"count": 11,
"value": "PASSED",
"pretty_name": "Passed"
},
{
"count": 1027,
"value": "NOT_ASSESSED",
"pretty_name": "Not assessed"
},
{
"count": 19,
"value": "FAILED",
"pretty_name": "Failed"
}
],
"failed_controls_severity": [
{
"count": 1,
"value": "CRITICAL",
"pretty_name": "Critical"
},
{
"count": 11,
"value": "HIGH",
"pretty_name": "High"
},
{
"count": 5,
"value": "MEDIUM",
"pretty_name": "Medium"
},
{
"count": 2,
"value": "LOW",
"pretty_name": "Low"
},
{
"count": 0,
"value": "INFORMATIONAL",
"pretty_name": "Informational"
}
],
"evaluation_time": 1759305778000,
"assessment_profile_id": "ddc31d5742ba4480b6d1c940c51651c2",
"cvs_file_deleted": false
}
]
}
}Last updated
Was this helpful?
