Secure Audit Log Config Management API Reference
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get Secure Audit Log config
Retrieve an Secure Audit Log service configuration by its ID.
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Create Secure Audit Log config
Create a new Secure Audit Log service configuration.
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update Secure Audit Log config
Update a Secure Audit Log service configuration.
To update a configuration, first retrieve the current version, apply your changes, and submit the updated configuration to this endpoint.
For a full example using a Project Admin management client, see the Service Configuration APIs documentation.
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
This endpoint cannot be called through the documentation site
Delete Secure Audit Log config
Delete a Secure Audit Log service configuration.
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List Secure Audit Log configs
Retrieve a paginated list of Secure Audit Log service configurations.
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/partition_overrides' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update retention for a partition value
Update the retention settings for specific partition values. This beta endpoint accepts an overrides
object, where each key is a partition name (such as a tenant ID), and the corresponding value specifies custom warm and cold storage retention periods.
Partitioning must be enabled in the Audit Schema configuration typically using the tenant_id
field.
Status Codes
Status | Status Code | Description |
---|---|---|
TreeNotFound | 200 | A tree has not been built for proofs. This is likely due to a lack of audit messages ingested. |
BadOffset | 400 | The offset provided is invalid or out of range. |
ForwardingError | 400 | Forwarder has experienced an error while forwarding messages |
InvalidSchema | 400 | The configured schema is not valid for this endpoint. |
NoForwarderConfigured | 400 | Testing a forwarder requires a forwarder to be configured |
ForbiddenFieldValue | 403 | A field value was supplied that is not allowed by the token's field restrictions. |
Was this article helpful?