Get Policy List
Description
Get all FortiCASB policies which trigger alerts in the business unit.
URL
/api/v1/alert/policy/list
Method: Get
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
buId |
<Business Unit ID> |
Long |
The targeted business unit ID on FortiCASB. Business unit ID can be obtained through . Alternatively, it can also be obtained from the REST API Get Resource Map |
service |
<Salesforce> |
String |
Cloud service account |
Content-Type | application/json | String |
Sample Request
Request URL |
GET https://www.forticasb.com/api/v1/policy/list |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json buid: 6384 service: Salesforce |
Response Variables
Name |
Type |
Description |
---|---|---|
name | String | Policy name |
category | String | Category of the policy |
id | String | Policy code for identifying the policy |
Sample Response
[
{
"name": "DLP China Resident Identity Policy",
"id": "FC-ACT-029",
"category": "DLP"
},
{
"name": "AV Scan Policy",
"id": "FC-ACT-254",
"category": "DLP"
},
{
"name": "Restricted User Activity",
"id": "FC-ACT-010",
"category": "Threat protection"
},
{
"name": "Password Change",
"id": "FC-ACT-011",
"category": "Threat protection"
}
]