3.0.5OAS 3.0

The API for configuring Kong Konnect Audit Logs.

API Base URL
  • Server 1:https://us.api.konghq.com/v3

    United-States Production region

  • Server 2:https://eu.api.konghq.com/v3

    Europe Production region

  • Server 3:https://au.api.konghq.com/v3

    Australia Production region

  • Server 4:https://me.api.konghq.com/v3

    Middle-East Production region

  • Server 5:https://in.api.konghq.com/v3

    India Production region

  • Server 6:https://sg.api.konghq.com/v3

    Singapore Production region

Security
personalAccessToken (http)

The personal access token is meant to be used as an alternative to basic-auth when accessing Konnect via APIs.
You can generate a Personal Access Token (PAT) from the personal access token page in the Konnect dashboard.
The PAT token must be passed in the header of a request, for example:
curl -X GET 'https://global.api.konghq.com/v2/users/' --header 'Authorization: Bearer kpat_xgfT...'

systemAccountAccessToken (http)

The system account access token is meant for automations and integrations that are not directly associated with a human identity.
You can generate a system account Access Token by creating a system account and then obtaining a system account access token for that account.
The access token must be passed in the header of a request, for example:
curl -X GET 'https://global.api.konghq.com/v2/users/' --header 'Authorization: Bearer spat_i2Ej...'

Additional Information
Contact Kong

Audit Logs

Get Audit Log JSON Web Keys

Returns the public keys used to sign audit log entries in order to verify the validity of audit log entries.

get

Response

200 application/json

Get response for the audit log JSON Web Keys

keysarray[object]required

An individual JSON Web Key.

Example:{"kty":"OKP","alg":"EdDSA","kid":"3f60bc4376c937154f3c004ebd180433ac0d03e6","crv":"Ed25519","x":"XWxGtApfcqmKI7p0OKnF5JSEWMVoLsytFXLEP7xZ_l8"}

Show Child Parameters
get/audit-log-webhook/jwks.json
 
200 application/json

Get Audit Logs

Returns a list of audit logs for an organization.

get

Query Parameters

page[size]integer

The maximum number of items to include per page. The last page of a collection may include fewer items.

Example:10

page[before]string

Request the next page of data, starting with the item before this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

page[after]string

Request the next page of data, starting with the item after this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

Response

application/json

Get response for audit logs

* Additional properties are NOT allowed.
dataOne Of
arrayrequired

An individual audit log entry.

Authorization Audit Logobject

An authorization audit log entry that captures authorization decisions for actions performed on Konnect resources.

Example:{"type":"authorization","signature":"MEUCIQDfXoXr3s8qLh9w1n0ZtHjvXl7y3iYp2n5iQO4eVhL1gIgH0YcT2uKkJzjE9mNqz8G6pXlL5sZzjvN8YBqk7c0","service":"servicehub","resource":"krn:kong:gateway:us-west-2:a123456789012:12345678-90ab-cdef-1234-567890abcdef","action":"kong.gateway.request","granted":true,"org_id":"6945c4c4-3e06-4c5c-87e0-726d0cda4e05","ts":"2023-03-21T09:29:14.52Z","principal_id":"user_1234567890abcdef","actor_id":"user_abcdef1234567890","client_ip":"127.0.0.1","uri":"/v2/api/endpoint","user_agent":"Mozilla/5.0","trace_id":"12345678","portal_id":"6945c4c4-3e06-4c5c-87e0-726d0cda4e05"}

Show Child Parameters
metaobjectrequired
Show Child Parameters
get/audit-logs
 
application/json

JWK

object

An individual JSON Web Key.

ktystringrequired

The algorithm family of the key.

algstringrequired

The algorithm intended for use with the key.

kidstringrequired

The unique ID of the key.

crvstringrequired

The cryptographic curve used with the key.

xstringrequired

The x coordinate for the Elliptic Curve point.

Example