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
project_idstringnoProject ID (scopes results; required if not using project key auth for a specific project)
actionstringnoExact permission-action string, e.g. secrets:DeleteSecret
principal_idstringnoPublic id of the principal (user_… or key_…)
resource_public_idstringnoExact target resource public id, e.g. sec_…
resource_srnstringnoSRN prefix match, e.g. srn:{project}:secret:. The log is append-only, so a stored SRN is never rewritten; the filter matches it as stored.
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

get-audit-entry

Get an audit entry

Arguments

ArgumentTypeRequiredDescription
entry_idstringyesAudit entry ID