Export covered rules to a CSV

Export covered rules from a specified report to a CSV file.

This method is found in the Policy_Optimization definition in the swagger.

Resource Name: /api/v1/rules/covered/csv/{reportId}

Request Method: GET

Request Parameters:

Element

Type

Description

reportId mandatory string

Report ID of a successfully analyzed device.

Request cURL examples

curl -X GET "https://localhost:7443/afa/api/v1/rules/covered/csv/{reportId}" -H "accept: */*"

Response:

Code

Description

200

Operation completed successfully. Download link is provided.

400 Invalid Report ID

401

Unauthorized

500 Internal server error

Response example in JSON Format

Download File