Fetch Details of an Exception

Fetches details of an exception, such as scope, reason, explanation, QIDs, and list ID.

GET/csapi/v1.3/exception/{exceptionId}

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
exceptionId Mandatory string Specify the ID or UUID of the exception.
includeQids Optional Boolean

Specify true if you want to include QIDs associated with the exception in the exception details.

By default, the value is false.

Sample: Fetch Details of an ExceptionSample: Fetch Details of an Exception

API Request

curl -X "GET"
"<qualys_base_url>/csapi/v1.3/exception/760b9868-8f41-4754-b51c-0d59d27e9945?includeQids=true"
-H "accept: application/json"
-H "Authorization: Bearer <token>"

Response

{  
  "exceptionId": "9e9f0cdc-7740-454b-abae-591002af4c65",  
  "name": "testing",  
  "createdBy": "trupt_tb9",  
  "updatedBy": "trupt_tb9",  
  "created": "1698314809826",  
  "updated": "1698314809826",  
  "explanation": "jkl",  
  "reason": "RISK_ACCEPTED",  
  "scope": "IMAGE",  
  "entityAssignmentType": "DYNAMIC",  
  "listId": "54adb7d8-834a-41cb-97c2-fb26192e5f25",  
  "startDate": "1698314809375",  
  "endDate": "1698401209375",  
  "dynamicFilter": "repo.repository:`test`",  
  "qids": []
 }