v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-068428533.0 MB
Audit Logs

Create Audit Log Destination

Creates a configuration for the audit log destination.

post/v2/audit-log-destinations

Request body

namestring required

The name of the audit log destination.

endpointstring required

The endpoint that will receive audit log messages.

authorizationstring required

The value to include in the Authorization header when sending audit logs to the webhook.

log_format'cef' | 'json' | 'cps' required

The output format of each log messages.

skip_ssl_verificationboolean

Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment.

Example request

{
  "name": "My Destination",
  "endpoint": "https://example.com/audit-logs",
  "authorization": "Bearer sometoken"
}

Response

Audit log destination response

idstring uuid

The unique ID of the audit log destination.

namestring nullable

The name of the audit log destination.

endpointstring nullable

The endpoint that will receive audit log messages.

log_format'cef' | 'json' | 'cps'

The output format of each log messages.

skip_ssl_verificationboolean

Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads.

created_atstring date-time

Timestamp when this webhook was created.

updated_atstring date-time

Timestamp when this webhook was last updated. Initial value is 0001-01-01T00:00:0Z.

Example response

{
  "endpoint": "https://example.com/audit-logs"
}