Fetch Exceptions Associated with a Container

Fetches vulnerability exceptions associated with a container.

GET/csapi/v1.3/containers/{containerSha}/exceptions

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description
containerSha Mandatory string Specify the SHA value of the container.

Sample: Fetch Exceptions Associated with a ContainerSample: Fetch Exceptions Associated with a Container

API Request

curl -X "GET"
"<qualys_base_url>/csapi/v1.3/containers/d1094f463df2ce4341a36c65fc4e163ee4a6d8e474d9dd844fa20571dd421df0/exceptions"
-H "accept: application/json"
-H "Authorization: Bearer <token>"

Response

{
    "data": [
        {
            "uuid": "c0b4ec8d-a186-4f2c-9a6d-3adc3dfb3cff",
            "name": "Test 1",
            "createdBy": "zp53",
            "created": "1687845954606",
            "updatedBy": "zp53",
            "updated": "1687845954606",
            "reason": "FALSE_POSITIVE",
            "explanation": "False positive",
            "scope": null,
            "listId": "1ef54477-eb0a-455f-b57f-ccfa18f0825d",
            "startDate": "1687860273830",
            "endDate": "4102358400000"
        },
        {
            "uuid": "d7b11c61-dcf2-4cf5-b369-8877f1b619c6",
            "name": "Test 2",
            "createdBy": "zp53",
            "created": "1687925660932",
            "updatedBy": "zp53",
            "updated": "1687936084082",
            "reason": "RISK_ACCEPTED",
            "explanation": "Risk accepted",
            "scope": null,
            "listId": "b1cfa02b-1417-4abb-bc40-bf764e009fae",
            "startDate": "1687945063571",
            "endDate": "4102358400000"
        }
    ],
    "count": 2
}

Error Response

The following error response is seen when the sub-users don't have permission to the specified containerSha.

    {  
    "errorCode": "403 FORBIDDEN",  
    "message": "Request Forbidden",  
    "timestamp": 1700721586546
    }