...
Building this integration involves writing scripts or code snippets that interact with the Fuse API, enabling seamless retrieval of reports based on specified parameters.
Required API endpoints
The following RESTful API endpoints can be used to retrieve the data from reports:
...
The following GET
request can be used to obtain retrieve the details of the a report:
GET /compliance_reporting/reports/all
...
Info |
---|
The execution_idreturned in the above response can be used in the API shown below. |
...
. |
Note |
---|
The download URL provided in the report_download_url section of the response body is used for the CSV download, and is only valid for 1 hour (60 mins) after the report URL has been generated by the API. Example: |
Retrieve a signed AWS download link to download the latest execution ID
The following GET
request can be used to retrieve the a signed AWS download link, containing the latest execution ID for a report.
GET /compliance_reporting/download_report/{execution_id}
...
Note |
---|
The download URL provided in the report_download_url and signed_download_url sections section of the response body are , used for the CSV download, and are is only valid for 1 hour (60 mins) after the report URL has been generated by the API. Example: |
...
|
...
POST: Regenerating a report
This POST
request can be used to regenerate a particular report by specifying the report ID.
POST: /compliance_reporting/reports/regenerate
POST https://<instance_name>>.fuseuniversal.com/api/v4.4/compliance_reporting/reports/regenerate?auth_token=<valid_auth_token>
The above will return the following:
Code Block |
---|
{
"success": true
} |
Info |
---|
Regenerating a report also generates a new execution_id, so please ensure that you run the GET /compliance_reporting/reports/all endpointto get the latest execution_id. |
...