Get All SaaSDR Reports API

Get details of all SaaSDR created reports.

GETsdr/api/v1/reports

Input ParametersInput Parameters

Parameter

Required/
Optional

Data Type

Description

size

Optional Integer

Specify the number of records per page to be included in the response. If size is not specified in the request, 50 records will be fetched by default. The maximum value supported for size is 200.

page 

Optional Integer Specify the page to be returned. Default page value is 0.

query 

Optional String

Filter the response by providing a query using Qualys QQL syntax.

Sample - To Get All ReportsSample - To Get All Reports

API Request

curl-k -X <GET> -H <token> -i "<qualys_base_url>api/v1/reports"

Response

{
   "content":[
      {
         "fileUuid":"2acd7710-21ad-11ec-8257-e93c62f7ef27",
         "reportName":"zoom custom csv",
         "description":null,
         "fileFormat":"csv",
         "status":"completed",
         "templateTitle":"SDR_Assessment_Template",
         "templateType":"DEFAULT",
         "templateName":"SDR_Assessment_Template",
         "createdAt":"2021-09-30T05:13:37.000Z",
         "expiresOn":"2021-10-07T05:13:37.000Z",
         "config":{
            "saasApplication":{
               "key":"ZOOM",
               "value":"Zoom"
            },
            "connectors":[
               {
                  "key":2190,
                  "value":"Zoom p01"
               }
            ],
            "policy":{
               "key":284,
               "value":"Zoom custom xr18 29.09"
            },
            "result":[
               "Pass",
               "Fail",
               "Error"
            ],
            "template":{
               "key":"SDR_Assessment_Template",
               "value":"SaaS Assessment Template"
            }
         },
         "createdBy":"quays_xr18"
      }
   ],
   "pageable":{
      "sort":{
         "sorted":false,
         "unsorted":true,
         "empty":true
      },
      "pageNumber":0,
      "pageSize":1,
      "offset":0,
      "paged":true,
      "unpaged":false
   },
   "totalElements":8,
   "last":false,
   "totalPages":8,
   "first":true,
   "sort":{
      "sorted":false,
      "unsorted":true,
      "empty":true
   },
   "numberOfElements":1,
   "size":1,
   "number":0,
   "empty":false
}
success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.