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)
limitnumbernoResults per page. Above 200 it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.

get-audit-entry​

Get an audit entry

Arguments​

ArgumentTypeRequiredDescription
entry_idstringyesAudit entry ID