Skip to main content

Audit Log

MCP tools for the Audit Log module. See the Audit Log module docs for permissions and data model.

list-audit-entries

List audit entries

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID (scopes results; required if not using project key auth for a specific project)
actionstringnoExact permission-action string, e.g. secrets:DeleteSecret
principalIdstringnoPublic id of the principal (user_… or key_…)
resourcePublicIdstringnoExact target resource public id, e.g. sec_…
resourceSrnstringnoSRN prefix match, e.g. soat:{project}:secret:
fromstringnoOnly entries created at or after this timestamp (ISO 8601)
tostringnoOnly entries created at or before this timestamp (ISO 8601)
limitnumbernoNumber of results per page (1–200, default 25)
offsetnumbernoNumber of results to skip

export-audit-entries

Export audit entries as NDJSON

Arguments

ArgumentTypeRequiredDescription
projectIdstringyesProject whose entries are exported
actionstringnoExact permission-action string, e.g. secrets:DeleteSecret
principalIdstringnoPublic id of the principal (user_… or key_…)
resourcePublicIdstringnoExact target resource public id, e.g. sec_…
resourceSrnstringnoSRN prefix match, e.g. soat:{project}:secret:
fromstringnoOnly entries created at or after this timestamp (ISO 8601)
tostringnoOnly entries created at or before this timestamp (ISO 8601)

get-audit-entry

Get an audit entry

Arguments

ArgumentTypeRequiredDescription
entryIdstringyesAudit entry ID