Get Dashboard Summary
Description
Get dashboard summary.
URL
/api/v1/dashboard/summary
Method: Get
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
Content-Type | application/json | String | |
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 |
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/dashboard/summary |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json companyId: 6 buid: 6384 companyId: 62598 roleId: 36241 |
Response Variables
Name |
Type |
Description |
---|---|---|
loginUser | String | The login user e-mail. |
alertsCount | long | Number of alerts in the last 30 days |
activitiesCount | long | Number of activities in the last 30 days |
fileScannedCount | long | Number of files scanned in the last 30 days |
Sample Response
{
"loginUser":"qa.casb1@gmail.com",
"alertsCount":3220,
"activitiesCount":9514,
"fileScannedCount":340
}