Post Compliance Report Summary
Description
Return all Compliance reports instances generated on FortiCASB.
URL
/api/v1/report/compliance/filtered
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/compliance/filtered |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json buid: 6384 service: Office365 companyId: 62598 roleid: 36241 |
Request Body |
{ "skip": 0, "limit": 1, "timezoneOffset": "-0800", "reportTypes": [], "cloudApps": [], "scheduled": [] } |
Response Variables
Name |
Type |
Description |
---|---|---|
name | String | Compliance report name. |
date | String | Date the Compliance report generated. |
id | String | Id of the Compliance report. |
Sample Response
{
"data": {
"datas": [
{
"id": 129593,
"name": "SAAS Box PCI-DSS Compliance Report December 2023 UTC.zip",
"generator": "SAAS",
"date": "2024-01-01T01:21:23.858Z",
"available": true,
"complete": true,
"scheduled": true
}
],
"totalPage": 0,
"limit": 1,
"skip": 0,
"totalCount": 4655
},
"code": 0,
"msg": "success",
"httpCode": 200
}