Audit Logs

Update Audit Log Webhook

Changed on

Updates the configuration for a webhook to receive audit logs.

patch/v2/audit-log-webhook

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Request body

object required
endpoint, string nullable

The endpoint that will receive audit log messages.

authorization, string nullable

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

enabled, boolean

Indicates if the data should be sent to the webhook.

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

The output format of each log messages.

skip_ssl_verification, boolean

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

{
  "endpoint": "https://example.com/audit-logs",
  "authorization": "Bearer sometoken",
  "enabled": true
}

Response

Get response for audit log webhook

object required
endpoint, string nullable

The endpoint that will receive audit log messages.

enabled, boolean nullable

Indicates whether audit data should be sent to the webhook.

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

The output format of each log messages.

skip_ssl_verification, boolean

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

updated_at, string 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",
  "enabled": true
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status