Version:

Version:

Version:

Version:


Table of Contents

Online Help

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 FortiCWP, 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 FortiCWP`
Content-Type application/json String  

Sample Request

Request URL

GET https://www.forticwp.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 FortiCWP, 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 FortiCWP`
Content-Type application/json String  

Sample Request

Request URL

GET https://www.forticwp.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

}

]