EndpointsList vault audit events

vaults

List vault audit events

Every access and change, allowed or denied, newest first. Never contains a value.

GET/vaults/{vault}/audit_events
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

vaultstringrequired

A vault id chosen by its creator, unique in the Workspace. default is the Workspace vault.

Pattern: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$

Example: "default"

cursorstring

Maximum string length: 512

limitinteger

Required range: 1 <= x <= 100

Response

application/json

VaultAuditEventList

dataobject[]required

Maximum array length: 100 elements

child attributes
data.sequenceintegerrequired
data.timeintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

data.methodstringrequired

Maximum string length: 64

Example: "AccessSecretVersion"

data.resourcestringrequired

Maximum string length: 256

data.principalstringrequired

A person (user:<id>), service agent (service:<name>), workload (workload:<pool>/<id>) or workforce identity (workforce:<pool>/<subject>)

Pattern: ^(user:[^\s]{1,64}|service:[a-z][a-z0-9-]{0,62}|(?:workload|workforce):[a-z][a-z0-9-]{0,62}\/[A-Za-z0-9_-]{1,128})$

Example: "user:usr_j572abc"

data.actobject
child attributes
data.act.substringrequired

Pattern: ^service:[\s\S]*?$

child attributes
data.act.act.substringrequired

Pattern: ^service:[\s\S]*?$

child attributes
data.act.act.act.substringrequired

Pattern: ^service:[\s\S]*?$

child attributes

Pattern: ^service:[\s\S]*?$

child attributes

Required string length: 1 - 256

Required string length: 1 - 256

data.viastringrequired

The service or workload that presented the call.

Maximum string length: 200

data.decisionenum<string>required

Available options: ALLOWED, DENIED

data.reasonstring | nullrequired

Maximum string length: 128

has_morebooleanrequired
next_cursorstring | nullrequired

Maximum string length: 512