This endpoint retrieves a list of issue exceptions that match the specified filter criteria. It supports filtering along with sorting and pagination.
Required permission: Exception Management Admin View, Exception Approver Admin View
Required license: Cortex XSIAM Premium or Cortex XSIAM Enterprise or Cortex XSIAM NG SIEM or Cortex XSIAM Enterprise Plus.
Authorization
String
required
{api_key}
{api_key}
authorization_example
x-xdr-auth-id
String
required
{api_key_id}
{api_key_id}
xXdrAuthId_example
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
-H
'Authorization: authorization_example'
-H
'x-xdr-auth-id: xXdrAuthId_example'
'https://api-yourfqdn/public_api/v1/issue_exceptions/search/'
-d
''
import http.client
conn = http.client.HTTPSConnection("api-yourfqdn")
payload = "{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}"
headers = {
'Authorization': "SOME_STRING_VALUE",
'x-xdr-auth-id': "SOME_STRING_VALUE",
'content-type': "application/json"
}
conn.request("POST", "/public_api/v1/issue_exceptions/search/", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api-yourfqdn/public_api/v1/issue_exceptions/search/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'SOME_STRING_VALUE'
request["x-xdr-auth-id"] = 'SOME_STRING_VALUE'
request["content-type"] = 'application/json'
request.body = "{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}"
response = http.request(request)
puts response.read_bodyconst data = JSON.stringify({
"request_data": {
"filters": {
"SEARCH_FIELD": "EXCEPTION_ID",
"SEARCH_TYPE": "EQ",
"SEARCH_VALUE": "string"
},
"search_from": 0,
"search_to": 100,
"sort": {
"FIELD": "string",
"ORDER": "ASC"
}
}
});
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://api-yourfqdn/public_api/v1/issue_exceptions/search/");
xhr.setRequestHeader("Authorization", "SOME_STRING_VALUE");
xhr.setRequestHeader("x-xdr-auth-id", "SOME_STRING_VALUE");
xhr.setRequestHeader("content-type", "application/json");
xhr.send(data);HttpResponse<String> response = Unirest.post("https://api-yourfqdn/public_api/v1/issue_exceptions/search/")
.header("Authorization", "SOME_STRING_VALUE")
.header("x-xdr-auth-id", "SOME_STRING_VALUE")
.header("content-type", "application/json")
.body("{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}")
.asString();import Foundation
let headers = [
"Authorization": "SOME_STRING_VALUE",
"x-xdr-auth-id": "SOME_STRING_VALUE",
"content-type": "application/json"
]
let parameters = ["request_data": [
"filters": [
"SEARCH_FIELD": "EXCEPTION_ID",
"SEARCH_TYPE": "EQ",
"SEARCH_VALUE": "string"
],
"search_from": 0,
"search_to": 100,
"sort": [
"FIELD": "string",
"ORDER": "ASC"
]
]] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://api-yourfqdn/public_api/v1/issue_exceptions/search/")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-yourfqdn/public_api/v1/issue_exceptions/search/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}",
CURLOPT_HTTPHEADER => [
"Authorization: SOME_STRING_VALUE",
"content-type: application/json",
"x-xdr-auth-id: SOME_STRING_VALUE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "https://api-yourfqdn/public_api/v1/issue_exceptions/search/");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: SOME_STRING_VALUE");
headers = curl_slist_append(headers, "x-xdr-auth-id: SOME_STRING_VALUE");
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}");
CURLcode ret = curl_easy_perform(hnd);var client = new RestClient("https://api-yourfqdn/public_api/v1/issue_exceptions/search/");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "SOME_STRING_VALUE");
request.AddHeader("x-xdr-auth-id", "SOME_STRING_VALUE");
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\"request_data\":{\"filters\":{\"SEARCH_FIELD\":\"EXCEPTION_ID\",\"SEARCH_TYPE\":\"EQ\",\"SEARCH_VALUE\":\"string\"},\"search_from\":0,\"search_to\":100,\"sort\":{\"FIELD\":\"string\",\"ORDER\":\"ASC\"}}}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);request_dataobject
filtersobjectFilter criteria using AND/OR structure. Each filter condition contains SEARCH_FIELD, SEARCH_TYPE, and SEARCH_VALUE.
Filter criteria using AND/OR structure. Each filter condition contains SEARCH_FIELD, SEARCH_TYPE, and SEARCH_VALUE.
SEARCH_FIELDstring (Enum)String that identifies the exception field the filter is matching.
String that identifies the exception field the filter is matching.
SEARCH_TYPEstring (Enum)Identifies the comparison operator to use for this filter. The following list shows which operators can be used for each filter field:
- EQ / NEQ - use with all fields
- GTE / LTE / GT / LT - use with
EXCEPTION_ID, EXPIRATION_TS, IMPACTED_ISSUES_COUNT, CREATED_TS, APPROVAL_TS
- IN - use with
EXCEPTION_ID, STATUS, BACKWARD_SCAN_STATUS, JUSTIFICATION_CATEGORY
- CONTAINS / CONTAINS_NOT — use with
EXTERNAL_EXCEPTION_ID, NAME, REQUESTOR_NAME, APPROVER_NAME, JUSTIFICATION_TEXT, APPROVAL_JUSTIFICATION, REQUESTOR_EMAIL, APPROVER_EMAIL
Identifies the comparison operator to use for this filter. The following list shows which operators can be used for each filter field:
- EQ / NEQ - use with all fields
- GTE / LTE / GT / LT - use with
EXCEPTION_ID,EXPIRATION_TS,IMPACTED_ISSUES_COUNT,CREATED_TS,APPROVAL_TS - IN - use with
EXCEPTION_ID,STATUS,BACKWARD_SCAN_STATUS,JUSTIFICATION_CATEGORY - CONTAINS / CONTAINS_NOT — use with
EXTERNAL_EXCEPTION_ID,NAME,REQUESTOR_NAME,APPROVER_NAME,JUSTIFICATION_TEXT,APPROVAL_JUSTIFICATION,REQUESTOR_EMAIL,APPROVER_EMAIL
SEARCH_VALUEobjectValue that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1, 42
- EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001"
- NAME — String, e.g.
"CVE Exception"
- STATUS — String. Values are:
APPROVED, DISABLED, EXPIRED, NO_DECISION_MADE, PENDING_DECISION, REJECTED, SELF_APPROVED
- EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000
- IMPACTED_ISSUES_COUNT — Integer, e.g.
0, 10, 100
- BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED, FAILED, IN_PROGRESS, PENDING
- JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL, PLANNED_REMEDIATION, RISK_ACCEPTED, VENDOR_DEPENDENCY
- REQUESTOR_NAME — String, e.g.
"John Doe"
- APPROVER_NAME — String, e.g.
"Jane Smith"
- CREATED_TS — Epoch milliseconds, e.g.
1712448000000
- APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000
- JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy"
- APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team"
- REQUESTOR_EMAIL — String, e.g.
"john@example.com"
- APPROVER_EMAIL — String, e.g.
"jane@example.com"
Value that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1,42 - EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001" - NAME — String, e.g.
"CVE Exception" - STATUS — String. Values are:
APPROVED,DISABLED,EXPIRED,NO_DECISION_MADE,PENDING_DECISION,REJECTED,SELF_APPROVED - EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000 - IMPACTED_ISSUES_COUNT — Integer, e.g.
0,10,100 - BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED,FAILED,IN_PROGRESS,PENDING - JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL,PLANNED_REMEDIATION,RISK_ACCEPTED,VENDOR_DEPENDENCY - REQUESTOR_NAME — String, e.g.
"John Doe" - APPROVER_NAME — String, e.g.
"Jane Smith" - CREATED_TS — Epoch milliseconds, e.g.
1712448000000 - APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000 - JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy" - APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team" - REQUESTOR_EMAIL — String, e.g.
"john@example.com" - APPROVER_EMAIL — String, e.g.
"jane@example.com"
stringValue that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1, 42
- EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001"
- NAME — String, e.g.
"CVE Exception"
- STATUS — String. Values are:
APPROVED, DISABLED, EXPIRED, NO_DECISION_MADE, PENDING_DECISION, REJECTED, SELF_APPROVED
- EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000
- IMPACTED_ISSUES_COUNT — Integer, e.g.
0, 10, 100
- BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED, FAILED, IN_PROGRESS, PENDING
- JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL, PLANNED_REMEDIATION, RISK_ACCEPTED, VENDOR_DEPENDENCY
- REQUESTOR_NAME — String, e.g.
"John Doe"
- APPROVER_NAME — String, e.g.
"Jane Smith"
- CREATED_TS — Epoch milliseconds, e.g.
1712448000000
- APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000
- JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy"
- APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team"
- REQUESTOR_EMAIL — String, e.g.
"john@example.com"
- APPROVER_EMAIL — String, e.g.
"jane@example.com"
Value that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1,42 - EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001" - NAME — String, e.g.
"CVE Exception" - STATUS — String. Values are:
APPROVED,DISABLED,EXPIRED,NO_DECISION_MADE,PENDING_DECISION,REJECTED,SELF_APPROVED - EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000 - IMPACTED_ISSUES_COUNT — Integer, e.g.
0,10,100 - BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED,FAILED,IN_PROGRESS,PENDING - JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL,PLANNED_REMEDIATION,RISK_ACCEPTED,VENDOR_DEPENDENCY - REQUESTOR_NAME — String, e.g.
"John Doe" - APPROVER_NAME — String, e.g.
"Jane Smith" - CREATED_TS — Epoch milliseconds, e.g.
1712448000000 - APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000 - JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy" - APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team" - REQUESTOR_EMAIL — String, e.g.
"john@example.com" - APPROVER_EMAIL — String, e.g.
"jane@example.com"
integerValue that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1, 42
- EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001"
- NAME — String, e.g.
"CVE Exception"
- STATUS — String. Values are:
APPROVED, DISABLED, EXPIRED, NO_DECISION_MADE, PENDING_DECISION, REJECTED, SELF_APPROVED
- EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000
- IMPACTED_ISSUES_COUNT — Integer, e.g.
0, 10, 100
- BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED, FAILED, IN_PROGRESS, PENDING
- JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL, PLANNED_REMEDIATION, RISK_ACCEPTED, VENDOR_DEPENDENCY
- REQUESTOR_NAME — String, e.g.
"John Doe"
- APPROVER_NAME — String, e.g.
"Jane Smith"
- CREATED_TS — Epoch milliseconds, e.g.
1712448000000
- APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000
- JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy"
- APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team"
- REQUESTOR_EMAIL — String, e.g.
"john@example.com"
- APPROVER_EMAIL — String, e.g.
"jane@example.com"
Value that this filter must match. The contents of this field will differ depending on the field that you specified for this filter:
- EXCEPTION_ID — Integer, e.g.
1,42 - EXTERNAL_EXCEPTION_ID — String, e.g.
"EXT-001" - NAME — String, e.g.
"CVE Exception" - STATUS — String. Values are:
APPROVED,DISABLED,EXPIRED,NO_DECISION_MADE,PENDING_DECISION,REJECTED,SELF_APPROVED - EXPIRATION_TS — Epoch milliseconds, e.g.
1712448000000 - IMPACTED_ISSUES_COUNT — Integer, e.g.
0,10,100 - BACKWARD_SCAN_STATUS — String. Values are:
COMPLETED,FAILED,IN_PROGRESS,PENDING - JUSTIFICATION_CATEGORY — String. Values are:
COMPENSATING_CONTROL,PLANNED_REMEDIATION,RISK_ACCEPTED,VENDOR_DEPENDENCY - REQUESTOR_NAME — String, e.g.
"John Doe" - APPROVER_NAME — String, e.g.
"Jane Smith" - CREATED_TS — Epoch milliseconds, e.g.
1712448000000 - APPROVAL_TS — Epoch milliseconds, e.g.
1712448000000 - JUSTIFICATION_TEXT — String, e.g.
"Risk accepted per policy" - APPROVAL_JUSTIFICATION — String, e.g.
"Approved by security team" - REQUESTOR_EMAIL — String, e.g.
"john@example.com" - APPROVER_EMAIL — String, e.g.
"jane@example.com"
search_fromintegerStarting index for pagination.
Starting index for pagination.
search_tointegerEnding index for pagination.
Ending index for pagination.
100sortobjectSort configuration
Sort configuration
FIELDstringField name to sort by
Field name to sort by
ORDERstring (Enum)Sort direction
Sort direction
{
"request_data": {}
}{
"request_data": {
"filters": {
"AND": [
{
"SEARCH_FIELD": "STATUS",
"SEARCH_TYPE": "EQ",
"SEARCH_VALUE": "APPROVED"
}
]
},
"search_from": 0,
"search_to": 50,
"sort": {
"FIELD": "EXCEPTION_ID",
"ORDER": "DESC"
}
}
}{
"request_data": {
"filters": {
"AND": [
{
"SEARCH_FIELD": "NAME",
"SEARCH_TYPE": "CONTAINS",
"SEARCH_VALUE": "CVE-2024"
}
]
},
"search_from": 0,
"search_to": 25
}
}