Skip to main content

Secure Audit Log Configuration API Reference

The Secure Audit Log API is designed for recording a trail of application-based user activity in a scalable, tamper-proof log.

Base URL

audit.<csp>.<region>.pangea.cloud

post/v1beta/config/list
curl -sSLX POST 'https://audit.aws.us.pangea.cloud/v1beta/config/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


v-1-beta-config-list

POST
https://audit.aws.us.pangea.cloud/v1beta/config/list

object
string

Only records where id equals this value.

array<string>

Only records where id includes each substring.

array<string>

Only records where id equals one of the provided substrings.

string (date-time)

Only records where created_at equals this value.

string (date-time)

Only records where created_at is greater than this value.

string (date-time)

Only records where created_at is greater than or equal to this value.

string (date-time)

Only records where created_at is less than this value.

string (date-time)

Only records where created_at is less than or equal to this value.

string (date-time)

Only records where updated_at equals this value.

string (date-time)

Only records where updated_at is greater than this value.

string (date-time)

Only records where updated_at is greater than or equal to this value.

string (date-time)

Only records where updated_at is less than this value.

string (date-time)

Only records where updated_at is less than or equal to this value.

string

Reflected value from a previous response to obtain the next page of results.

string

Order results asc(ending) or desc(ending).

string

Which field to order results by.

integer

Maximum results to include in the response.

  • minimum: 1

object

Pangea standard response schema

object
integer

The total number of service configs matched by the list request.

string

Used to fetch the next page of the current listing when provided in a repeated request's last parameter.

Configuration options available for audit service

string

The config ID

integer
string (date-time)

The DB timestamp when this config was created. Ignored when submitted.

string (date-time)

The DB timestamp when this config was last updated at

string

configuration name

Retention window to store audit logs.

string
(default: "2d")

Retention window for cold query result / state information.

(default: "14d")

Retention window to keep audit logs in hot storage.

string
(default: "2d")

Length of time to preserve server-side query result caching.

string, null

A redact service config that will be used to redact PII from logs.

array<string>

Fields to perform redaction against.

string, null

A vault service config that will be used to sign logs.

string

ID of the Vault key used for signing. If missing, use a default Audit key

boolean
(default: false)

Enable/disable event signing

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

Status Codes
StatusStatus CodeDescription
TreeNotFound200

A tree has not been built for proofs. This is likely due to a lack of audit messages ingested.

BadOffset400

The offset provided is invalid or out of range.

ForwardingError400

Forwarder has experienced an error while forwarding messages

InvalidSchema400

The configured schema is not valid for this endpoint.

NoForwarderConfigured400

Testing a forwarder requires a forwarder to be configured

ForbiddenFieldValue403

A field value was supplied that is not allowed by the token's field restrictions.

Was this article helpful?

Contact us