Fortinet black logo

Online Help

Get Storage Risk

Copy Link
Copy Doc ID cf00dcb1-0886-11ed-bb32-fa163e15d75b:264973

Get Storage Risk

Description

Get Storage vulnerability statistics by the exposure level.

URL

/api/v1/dashboard/storage/risk

Request Method: GET

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID in FortiCNP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCNP`
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticnp.com/api/v1/dashboard/storage/risk

Request Header

Authorization: Bearer <Authorization_Token>

roleId: 36241

companyId: 8059334

Content-Type: application/json

Response Variables

Name

Type

Description

key String Type of Storage vulnerability
value integer Total number of the bucket/storage containers

Sample Response

[

{

"key":"Internal Write",

"value":4

},

{

"key":"External Read",

"value":1

},

{

"key":"Private",

"value":117

},

{

"key":"Public Read",

"value":4

},

{

"key":"Public Write",

"value":4

},

{

"key":"External Write",

"value":5

}

]

Get Storage Risk

Description

Get Storage vulnerability statistics by the exposure level.

URL

/api/v1/dashboard/storage/risk

Request Method: GET

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID in FortiCNP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCNP`
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticnp.com/api/v1/dashboard/storage/risk

Request Header

Authorization: Bearer <Authorization_Token>

roleId: 36241

companyId: 8059334

Content-Type: application/json

Response Variables

Name

Type

Description

key String Type of Storage vulnerability
value integer Total number of the bucket/storage containers

Sample Response

[

{

"key":"Internal Write",

"value":4

},

{

"key":"External Read",

"value":1

},

{

"key":"Private",

"value":117

},

{

"key":"Public Read",

"value":4

},

{

"key":"Public Write",

"value":4

},

{

"key":"External Write",

"value":5

}

]