Get Storage Risk
Description
Get Storage vulnerability statistics by the exposure level.
URL
/api/v1/dashboard/storage/risk
Request Method: GET
Request Header
Key |
Value |
Type |
Description |
---|---|---|---|
companyId | <12345> | Integer | Company ID - Company ID 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> companyId: <Company_ID> Content-Type: application/json |
Response Variable
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
}
]