post
/public_api/v1/hash_exceptions/allowlist
Add files which do not exist in the allow or block lists to an allow list.
Required license: Cortex XDR Prevent, Cortex XDR Pro per Endpoint, or Cortex XDR Pro per GB
Request headers
Authorization
String
required
{api_key}
Example:
authorization_example
x-xdr-auth-id
String
required
{api_key_id}
Example:
xXdrAuthId_example
Accept-Encoding
String
For retrieving a compressed gzipped response
Example:
acceptEncoding_example
Body parameters
request_dataObjectrequired
A dictionary containing the API request fields.
hash_listArray[string]
A list of hashed files you want to add to the allow list. Hash must be a valid SH256.
commentString
Additional information regarding the action.
incident_idInteger
The incident ID related to the hash. When included in the request, the Allow List action will appear in the Cortex XDR Incident View Timeline tab.
REQUEST BODY
{
"request_data": {
"hash_list": [
"032196FB1A---DFCF69E5D553F0",
"365296EB1B---FCF29E5D553E4",
"365296EB1B---FCF69E3D553E4",
"365296EB1B---FCF69E5D553D4",
"365296EB1B---FCF79E5D553D4"
],
"comment": "test",
"incident_id": 5
}
}
CURL
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
-H
'Authorization: authorization_example'
-H
'x-xdr-auth-id: xXdrAuthId_example'
-H
'Accept-Encoding: acceptEncoding_example'
'https://api-yourfqdn/public_api/v1/hash_exceptions/allowlist'
-d
''
Responses