Post Shadow IT Report Summary
Description
Return all Shadow IT reports instances generated on FortiCASB.
URL
/api/v1/report/shadowIt/page
Method: Post
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
Content-Type | application/json | String | |
buId |
<Business Unit ID> |
Long |
The targeted business unit ID on FortiCASB. Business unit ID can be obtained through . Alternatively, it can also be obtained from the REST API Get Resource Map |
roleId |
<User ID> |
Integer |
Login user ID, can be obtained through Get Resource Map. |
companyId | <Company ID> | Integer | Company ID of which the business unit is under, can be obtained through Get Resource Map. |
Sample Request
Request URL |
POST https://www.forticasb.com/api/v1/report/shadowIt/page |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json buid: 6384 service: Office365 companyId: 62598 roleid: 36241 |
Request Body |
{ "skip": 0, "limit": 1 } |
Response Variables
Name |
Type |
Description |
---|---|---|
name | String | Shadow IT report name. |
date | String | Date the Shadow IT report generated. |
id | String | Id of the Shadow IT report. |
Sample Response
{
"data": {
"datas": [
{
"id": 512,
"name": "SAAS_Shadow_IT_Report_2023-11-06-14-47-42.pdf",
"generator": "SAAS",
"date": "2023-11-06T22:47:42.086Z",
"available": true,
"complete": true
}
],
"totalPage": 0,
"limit": 1,
"skip": 0,
"totalCount": 217
},
"code": 0,
"msg": "success",
"httpCode": 200
}