Get a List of Reports with Specific Status

Use this API to get a list of reports with specific status.

POST/audit-log/admin/report/list

Sample - Get a list of reports with a specific statusSample - Get a list of reports with a specific status

API request

 curl --location --request POST 'https://<QualysBaseURL>/audit-log/admin/report/list' \
--header 'Authorization: Bearer < JWT Token >\
--header 'Content-Type: application/json' \
--data-raw '{<FilterRequest>}'

Request body

{
  "qql": "status: FINISHED",
  "pageNumber": 0,
  "pageSize": 10,
  "startDate": 1676531536736,
  "endDate": 1676531736736,
  "reportId": 754
}

Response

{
  "reportStatusList": [
    {
      "id": 754,
      "status": "FINISHED",
      "createdDate": 1676531736736,
      "updatedDate": 1676531748935,
      "reportName": "VMDR report",
      "userName": "quays_yz80",
      "truncated": true
    }
  ],
  "totalCount": 1
}