Get Event
Description
Get activity events definition from FortiCASB.
URL
/api/v1/event
Method: Get
Request Header
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
service |
<Cloud Service> |
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/event |
Request Header |
Authorization: Bearer <Authorization_Token> service: Salesforce Content-Type: application/json |
Response Variable
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"
},
]