Fortinet black logo

Online Help

Get Dashboard Risk

Copy Link
Copy Doc ID 6214e17c-9e13-11eb-b70b-00505692583a:888163

Get Dashboard Risk

Description

Get all risk trend data of all monitoring accounts in the business unit.

URL

/api/v1/dashboard/risk

Method: Post

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB

buId

<Account Number>

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

timeZone

<Time Zone>

String

Numeric representation of time zone of the user, ex. +0800

Content-Type application/json String

Request Body Parameters

Name

Required

Type

Description

startTime Required long Timestamp, starting time of filtered open alerts
endTime Required long Timestamp, ending time of filtered open alerts

Sample Request

Request URL

POST https://www.forticasb.com/api/v1/dashboard/risk

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

buid: 6384

timezone: -0700

Request Body

{

"startTime":1585518361548,

"endTime":1585604761548

}

Response Variables

Name

Type

Description

name String Cloud service name
id String Risk sequence number
key String The time that the risk was detected
value long The risk number on this date

Sample Response

{

"data":[

{

"name":"Box",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Salesforce",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Dropbox",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Google",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Office365",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

}

]

}

Get Dashboard Risk

Description

Get all risk trend data of all monitoring accounts in the business unit.

URL

/api/v1/dashboard/risk

Method: Post

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB

buId

<Account Number>

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

timeZone

<Time Zone>

String

Numeric representation of time zone of the user, ex. +0800

Content-Type application/json String

Request Body Parameters

Name

Required

Type

Description

startTime Required long Timestamp, starting time of filtered open alerts
endTime Required long Timestamp, ending time of filtered open alerts

Sample Request

Request URL

POST https://www.forticasb.com/api/v1/dashboard/risk

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

buid: 6384

timezone: -0700

Request Body

{

"startTime":1585518361548,

"endTime":1585604761548

}

Response Variables

Name

Type

Description

name String Cloud service name
id String Risk sequence number
key String The time that the risk was detected
value long The risk number on this date

Sample Response

{

"data":[

{

"name":"Box",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Salesforce",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Dropbox",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Google",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

},

{

"name":"Office365",

"values":[

{

"id":"0",

"key":"2020-03-10T18:00:00+0000",

"value":0

},

{

"id":"1",

"key":"2020-03-10T18:30:00+0000",

"value":0

}

]

}

]

}