Konnect Audit Log Settings (3.0.0)

Download OpenAPI specification:Download

The API for configuring Kong Konnect Audit Logs.

Audit Logs

Get Konnect Audit Log Webhook

Returns configuration for the audit log webhook.

Authorizations:
personalAccessTokensystemAccountAccessToken

Responses

Response samples

Content type
application/json
{
  • "audit_log_destination_id": "6945c4c4-3e06-4c5c-87e0-726d0cda4e05",
  • "enabled": true
}

Update Konnect Audit Log Webhook

Updates the configuration for a webhook to receive audit logs.

Authorizations:
personalAccessTokensystemAccountAccessToken
Request Body schema: application/json

The request schema to modify an audit log webhook.

audit_log_destination_id
required
string <uuid>

UUID of an existing audit log destination

enabled
required
boolean
Default: false

Indicates if the data should be sent to the webhook.

Responses

Request samples

Content type
application/json
{
  • "audit_log_destination_id": "6945c4c4-3e06-4c5c-87e0-726d0cda4e05",
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "audit_log_destination_id": "6945c4c4-3e06-4c5c-87e0-726d0cda4e05",
  • "enabled": true
}

Get Audit Log Webhook Status

Returns status of the audit log webhook.

Authorizations:
personalAccessTokensystemAccountAccessToken

Responses

Response samples

Content type
application/json
{
  • "webhook_enabled": true,
  • "webhook_status": "inactive",
  • "last_attempt_at": "2023-03-21T09:29:14.52Z",
  • "last_response_code": 401,
  • "last_response_message": "Unauthorized"
}