Get Filter List
Description
Get all users created filter lists in the specific cloud service under the targeted business unit.
URL
/api/v1/filter/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 |
<Cloud Service Name> |
String |
Cloud service name such as Salesforce, Office365, etc. |
Content-Type | application/json | String |
Sample Request
Request URL |
GET https://www.forticasb.com/api/v1/filter/list |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json buid: 6384 service: Office365 |
Response Variables
Name |
Type |
Description |
---|---|---|
id | Integer | The serial number |
name | String | The filter name that user created |
filter | String | The filter that the user saved |
source | String | The filter source page |
Sample Response
[
{
"id":36156,
"name":"casb test",
"filter":"{\"selectPolicyObject\":[],\"selectFileTypeObject\":[],\"selectShareTypeObject\":[],\"selectSensitiveDataObject\":[],\"selectOwnerObject\":[],\"selectShareToInternalObject\":[],\"selectShareToGuestObject\":[],\"selectUserObject\":[],\"selectSharedUserObject\":[],\"selectActivityObject\":[{\"id\":2,\"name\":\"Upload File\",\"category\":\"FILE\"}],\"selectSeverityObject\":[],\"selectAlertTypeObject\":[],\"selectStatusObject\":[],\"selectCountryObject\":[],\"ipList\":[],\"selectAuditOperateObject\":[],\"selectAuditModuleObject\":[],\"selectAuditVendorObject\":[],\"isShare\":false,\"isLink\":false,\"isNewFinding\":false,\"isViolation\":false,\"isSuccess\":null,\"object\":\"\",\"selectedHistoryPeriod\":{\"time\":\"Last 24 hours\",\"displayTime\":\"Last 24 hours\"},\"selectedPeriod\":{\"start_dt\":\"2020-03-10T23:38:45.069Z\",\"end_dt\":\"2020-03-11T23:38:45.069Z\",\"value\":{\"time\":\"Last 24 hours\",\"displayTime\":\"Last 24 hours\"}}}",
"source":"alert"
}
]