Fortinet black logo

Online Help

Get Severity Alert

Copy Link
Copy Doc ID e0288d11-27c1-11ec-8c53-00505692583a:706785

Get Severity Alert

Description

Get open Alerts statistics by Severity and Time Range

URL

/api/v1/dashboard/severity/alert

Request Method: Get

Request Headers

Key

Value

Required /Optional

Type

Description

companyId <12345>

Required

Integer Company ID - Company ID can be obtained through Get Resource Map
Authorization Bearer <Authorization Token>

Required

String Authorization credential generated by FortiCWP

startTime

<1583431870>

Optional

Long

Starting time of filtered open alerts in Unix Epoch timestamp. To convert date and time to Unix Epoch timestamp, refer to https://www.epochconverter.com/.

endTime

<1583431870>

Optional

Long

Ending time of filtered open alerts in Unix Epoch timestamp. To convert date and time to Unix Epoch timestamp, refer to https://www.epochconverter.com/.

Content-Type application/json

Required

String

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/dashboard/severity/alert

Request Header

Authorization: Bearer <Authorization_Token>

companyId: <Company_ID>

Content-Type: application/json

starttime: 1583347487553

endtime: 1583433887553

Response Variables

Name

Type

Description

key String classification of alert severity level
value integer Number of alert

Sample Response

[

{

"id":"0",

"key":"Critical",

"value":319

},

{

"id":"1",

"key":"Alert",

"value":204

},

{

"id":"2",

"key":"Warning",

"value":104

},

{

"id":"3",

"key":"Information",

"value":1

}

]

Get Severity Alert

Description

Get open Alerts statistics by Severity and Time Range

URL

/api/v1/dashboard/severity/alert

Request Method: Get

Request Headers

Key

Value

Required /Optional

Type

Description

companyId <12345>

Required

Integer Company ID - Company ID can be obtained through Get Resource Map
Authorization Bearer <Authorization Token>

Required

String Authorization credential generated by FortiCWP

startTime

<1583431870>

Optional

Long

Starting time of filtered open alerts in Unix Epoch timestamp. To convert date and time to Unix Epoch timestamp, refer to https://www.epochconverter.com/.

endTime

<1583431870>

Optional

Long

Ending time of filtered open alerts in Unix Epoch timestamp. To convert date and time to Unix Epoch timestamp, refer to https://www.epochconverter.com/.

Content-Type application/json

Required

String

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/dashboard/severity/alert

Request Header

Authorization: Bearer <Authorization_Token>

companyId: <Company_ID>

Content-Type: application/json

starttime: 1583347487553

endtime: 1583433887553

Response Variables

Name

Type

Description

key String classification of alert severity level
value integer Number of alert

Sample Response

[

{

"id":"0",

"key":"Critical",

"value":319

},

{

"id":"1",

"key":"Alert",

"value":204

},

{

"id":"2",

"key":"Warning",

"value":104

},

{

"id":"3",

"key":"Information",

"value":1

}

]