Get Event
Description
Get activity events definition from FortiCASB.
URL
/api/v1/event
Method: Get
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
Content-Type | application/json | String | |
service |
<Cloud Service> |
String |
Cloud service name such as Salesforce, Office365, etc. |
companyId | <Company ID> | Integer | Company ID of which the business unit is under, can be obtained through Get Resource Map. |
roleId |
<User ID> |
Integer |
Login user ID, can be obtained through Get Resource Map. |
Sample Request
Request URL |
GET https://www.forticasb.com/api/v1/event |
Request Header |
Authorization: Bearer <Authorization_Token> service: Salesforce Content-Type: application/json roleId: 36241 companyId: 62598 |
Response Variables
Name |
Type |
Description |
---|---|---|
id | integer | The activity id, represents "Activity ID" for filtering alerts and activity |
name | String | Name of the activity operation, represents "Activity Name" for filtering alerts and activity |
nameEnum | OperationNameEnum | The activity operation type, represents "Activity" enum for filtering alerts and activity |
value | String | The activity ID, represents "Activity" for filtering alerts and activity |
category | String | The category of activity, represents "Activity Category" for filtering alerts and activity |
searchField | String | The search field of the filter |
Sample Response
[
{
"id":202,
"name":"Upload File",
"nameEnum":"UPLOAD_FILE",
"value":"202",
"category":"FILE",
"searchField":"activity"
},
{
"id":203,
"name":"Download File",
"nameEnum":"DOWNLOAD_FILE",
"value":"203",
"category":"FILE",
"searchField":"activity"
},
{
"id":206,
"name":"Upload New Version",
"nameEnum":"UPLOAD_NEW_VERSION",
"value":"206",
"category":"FILE",
"searchField":"activity"
},
]