Fortinet black logo

Online Help

Get Severity

Get Severity

Description

Get all alert severity definitions from FortiCASB.

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB
Content-Type application/json String
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/severity

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 62598

Response Variables

Name

Type

Description

id String The severity code, represents "Severity" code filter in filtering alerts
name String The severity name, represents "Severity" name filter for filtering alerts

Sample Response

[

{

"id":"1",

"name":"Critical"

},

{

"id":"2",

"name":"Alert"

},

{

"id":"3",

"name":"Warning"

},

{

"id":"4",

"name":"Information"

},

{

"id":"5",

"name":"Pass"

}

]

Get Severity

Description

Get all alert severity definitions from FortiCASB.

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB
Content-Type application/json String
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/severity

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 62598

Response Variables

Name

Type

Description

id String The severity code, represents "Severity" code filter in filtering alerts
name String The severity name, represents "Severity" name filter for filtering alerts

Sample Response

[

{

"id":"1",

"name":"Critical"

},

{

"id":"2",

"name":"Alert"

},

{

"id":"3",

"name":"Warning"

},

{

"id":"4",

"name":"Information"

},

{

"id":"5",

"name":"Pass"

}

]