Export security audit log reports
Learn about exporting Security Audit Log details with the Sync.
Use the Security Audit Log - Sync to filter audit log details and export them to a report in CSV and JSON formats.
- ROLE_ADMIN_CUSTOMER: Provides EXECUTE privileges for the Auth.Audit.Export.Privilege resource.
For more information, see topic ROLE_ADMIN_CUSTOMER Access permissions.
Request
POST /audit/export
This topic describes the properties in this API endpoint and provides examples of requests and responses. For more information on the syntax of this API, see Security audit log in the Reltio Developer Portal. For more specific usage scenarios for this API, see the sub topics in this section.
Parameter | Type | Required | Description |
---|---|---|---|
Header | |||
Authorization | string | Yes | The bearer token URL returned by the Authentication in this format: https://auth.reltio.com/oauth/token . For information on obtaining an authorization token to run Reltio REST APIs using the Security OAuth 2.0 security method, see topic Authentication API. |
Content-type | string | Yes | The format to use to transmit data:
|
Body | |||
payload | array | Yes | A task definition in JSON format:
|
Response
The API endpoint returns a report in the specified format (JSON or CSV) .
Status Code | Message | Description |
---|---|---|
200 |
Success | The audit report was returned. |
400 |
Bad Request | The request body is not correctly formatted or required fields are missing. |
401 |
Unauthorized | The token is missing, invalid, or does not have the necessary privileges. |
429 |
Too Many requests | The user has exceeded the number of allowable synchronous requests. |
Data returned | Type | Description |
---|---|---|
Audit report | CSV or JSON file | Columns in report:
|
Examples
This example shows how to request an audit log in CSV format for all events for user1 between midnight and 7:40PM on 03-Sep-2023. |
|
This example shows how to request specific audit log details for the filters shown. |
|
This example shows the response returned for the request example above in CSV format. |
|
This example shows the response returned for the request example above in JSON format. |
|