Download Report Using Resource Name API

GET/etm/api/rest/v1/reports/{report-id}/resources/{resource-name}

Use this API to download reports using resource ID. The Byte stream file is downloaded.

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

id Mandatory String Provide a unique ID of the report.
resource-name Mandatory String Provide resource name of the report.

Authorization 

Mandatory

String

Authorization token to authenticate to the Qualys Enterprise TruRisk Platform

Prepend token with Bearer and one space.

For example - Bearer authToken

SampleSample

API Request

curl -X GET 
'<qualys_base_url>/etm/api/rest/v1/reports/20ce9e32-fe6e-4172-b5ee-ef770591c56b/resources/part_15097524224131306.json'
--header 'Content-Type: application/json' 
--header 'Authorization: Bearer <JWT Token>'

Response

The Byte stream file is downloaded.