Retrieve a risk profile list

Retrieves a list of risk profile Excel files for the session user. Pass the name of an Excel file in get_zones to retrieve the list of the security zones in each risk profile. If you have the name of the risk profile Excel file, it is not necessary to execute this API.

Resource Name:

/api/v1/security_zones/get_profiles_list

Controller: Security Zones External Controller

Request Method: GET

Authentication: Cookie with session ID

Header Requirements:

none

Response:

Element Type Description

data

Array of String List of risk profile Excel file names for use in get_zones request.

Request example

curl -X GET "https://192.168.11.23/afa/api/v1/security_zones/get_profiles_list" -H "accept: application/json"

Response example

[ "spreadsheet_2.xlsx", "1.xlsx" ]