Audit Log
APIs for audit logs
Get audit management logs.
Response is concatenated using AND condition (OR is not supported).
Maximum result set size is 100.
Offset is the zero-based number of incidents from the start of the result set.
Header parameters
authorizationstringRequiredExample:
api_key
DCdIeow0xm73EwnxjPza1tdHTfZQv2eH7bTKlTPkgBHLj8aSjFzjgTE9bQUK1DidlWLrnYRhaYQ4PCIyNrNJbMUC6DOWi8ANIn1JWpMTE2neGvoDIRsKUbj6pJ1z7Gmrx-xdr-auth-idstringRequiredExample:
api_key_id
2841Body
Responses
200
Successful response
application/json
400
Bad Request. Got an invalid JSON.
application/json
401
Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.
application/json
402
Unauthorized access. User does not have the required license type to run this API.
application/json
403
Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.
application/json
500
Internal server error. A unified status for API communication type errors.
application/json
post/public_api/v1/audits/management_logs
POST /public_api/v1/audits/management_logs HTTP/1.1
Host: api-yourfqdn
authorization: DCdIeow0xm73EwnxjPza1tdHTfZQv2eH7bTKlTPkgBHLj8aSjFzjgTE9bQUK1DidlWLrnYRhaYQ4PCIyNrNJbMUC6DOWi8ANIn1JWpMTE2neGvoDIRsKUbj6pJ1z7Gmr
x-xdr-auth-id: 2841
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"request_data": {
"search_from": 0,
"search_to": 100,
"sort": {
"field": "timestamp",
"keyword": "asc"
}
}
}{
"reply": {
"total_count": 1,
"result_count": 1,
"data": [
{
"AUDIT_ID": 1,
"AUDIT_OWNER_NAME": "User Name",
"AUDIT_OWNER_EMAIL": "username@paloaltonetworks.com",
"AUDIT_ASSET_JSON": "{}",
"AUDIT_ASSET_NAMES": "",
"AUDIT_HOSTNAME": "",
"AUDIT_RESULT": "SUCCESS",
"AUDIT_REASON": "",
"AUDIT_DESCRIPTION": "",
"AUDIT_ENTITY": "AUTH",
"AUDIT_ENTITY_SUBTYPE": "Login",
"AUDIT_SESSION_ID": 382303947890,
"AUDIT_CASE_ID": 473829372,
"AUDIT_INSERT_TIME": 1565074114053,
"AUDIT_SEVERITY": "SEV_020_LOW",
"AUDIT_LINK": null,
"AUDIT_SOURCE_IP": "31.174.156.148",
"AUDIT_USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"AUDIT_USER_ROLES": [
"Account Admin"
],
"AUDIT_ADDITIONAL_INFORMATION": {
"endpoint_names": [
"WIN-fgo6762G"
],
"endpoint_count": 1
},
"AUDIT_OBJECT_ID": null
}
]
}
}Last updated
Was this helpful?
