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

Authorization Audit Log

object

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

typestringrequired

The type of audit log entry.

Allowed values:authorization

signaturestringrequired

Base64 URL encoded signature of this entity.

servicestringrequired

The name of the API service performing the operation (for example, servicehub).

resourcestringrequired

KRN of the resource.

actionstringrequired

Action performed on the resource.

grantedbooleanrequired

Indicates whether the action was granted.

org_idstringrequired

Organization ID.

tsstring(date-time)required

Timestamp when the authorization event occurred.

principal_idstringrequired

Principal that performed the action.

actor_idstring

If using an actor JWT, the ID of the person doing the acting.

client_ipstring

IP address of the client.

uristring

URI the request was made on.

user_agentstring

User agent making the request.

trace_idstring

Trace ID of the request.

portal_idstring

Optional Dev Portal ID.

Example