List Exceptions

GET/rest/v1/exceptions/list 

List all the exceptions. Use filters to narrow down your search. You can use the filters based on the tokens like exception.provider, exception.reason, exception.status, exception.name, exception scope, account.id, subscriptionId, projectId, cid, exception.scope, resource.id, resource.accountId, resource.subscriptionId, resource.projectId, qflow.id, qflow.name for more details of tokens refer to the TotalCloud Online help

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

filter

Optional

String

Filter the exception list by
providing a query using
Qualys syntax. Refer to the
Online help for assistance
with creating your query. For
example -
exception.scope:QUALYSTAG

pageSize

Optional

Integer

The number of records per
page to be included in the
response.

pageNo

Optional

Integer

The page to be returned.

sort

Optional

Keywords

Sort the results using a
Qualys token. The
endingDate and UpdatedOn
are sortable filters. 

Sample - List All ExceptionsSample - List All Exceptions

API request

    
curl --location "<qualys_base_url>/cloudview-api/rest/v1/azure/evaluations/list/resources?pageNo=0&pageSize=50" \ 
--header 'Authorization: Basic <JWT Token>’ \ 

Response

    { 
 "content": [ 
 { 
 "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"", 
 "name": "Azure Connector Level 2", 
 "description": "AZURE Connector Level Exception", 
 "reason": "False Positive", 
 "state": "ACTIVE", 
 "startingDate": "2023-05-16T00:00:00+0000", 
 "endingDate": "2023-05-20T23:59:59+0000", 
 "createdBy": "", 
 "updatedBy": "", 
 "createdOn": "2023-05-16T06:37:27+0000", 
 "updatedOn": "2023-05-16T06:37:27+0000", 
 "scope": "CONNECTOR" 
 }, 
 { 
 "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"", 
 "name": "AZURE WEB APP Sub USer", 
 "description": "AZURE Exception", 
 "reason": "Other", 
 "state": "ACTIVE", 
 "startingDate": "2023-05-12T00:00:00+0000", 
 "endingDate": "2023-05-20T23:59:59+0000", 
 "createdBy": "", 
 "updatedBy": "", 
 "createdOn": "2023-05-12T10:25:43+0000", 
 "updatedOn": "2023-05-12T10:25:43+0000", 
 "scope": "QUALYSTAG" 
 }, 
 { 
 "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"", 
 "name": "AWS Connector Level", 
 "description": "AWS Connector Level Exception", 
 "reason": "False Positive", 
 "state": "EXPIRED", 
 "startingDate": "2023-05-05T00:00:00+0000", 
 "endingDate": "2023-05-10T23:59:59+0000", 
 "createdBy": "", 
 "updatedBy": "", 
 "createdOn": "2023-05-05T08:54:27+0000", 
 "updatedOn": "2023-05-05T08:54:27+0000", 
 "scope": "CONNECTOR" 
 }, 
 { 
 "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"", 
 "name": "AZURE Function App", 
 "description": "AZURE Exception","reason": "Other", 
 "state": "EXPIRED", 
 "startingDate": "2023-05-05T00:00:00+0000", 
 "endingDate": "2023-05-10T23:59:59+0000", 
 "createdBy": "", 
 "updatedBy": "", 
 "createdOn": "2023-05-05T08:49:01+0000", 
 "updatedOn": "2023-05-05T08:49:01+0000", 
 "scope": "QUALYSTAG" 
 }, 
 ], 
 "pageable": { 
 "sort": { 
 "sorted": false, 
 "empty": true, 
 "unsorted": true 
 }, 
 "pageSize": 50, 
 "pageNumber": 0, 
 "offset": 0, 
 "paged": true, 
 "unpaged": false 
 }, 
 "totalPages": 1, 
 "totalElements": 25, 
 "last": true, 
 "number": 0, 
 "size": 50, 
 "numberOfElements": 25, 
 "sort": { 
 "sorted": false, 
 "empty": true, 
 "unsorted": true 
 }, 
 "first": true, 
 "empty": false 
}