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
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Project ID (scopes results; required if not using project key auth for a specific project) |
action | string | no | Exact permission-action string, e.g. secrets:DeleteSecret |
principalId | string | no | Public id of the principal (user_… or key_…) |
resourcePublicId | string | no | Exact target resource public id, e.g. sec_… |
resourceSrn | string | no | SRN prefix match, e.g. soat:{project}:secret: |
from | string | no | Only entries created at or after this timestamp (ISO 8601) |
to | string | no | Only entries created at or before this timestamp (ISO 8601) |
limit | number | no | Number of results per page (1–200, default 25) |
offset | number | no | Number of results to skip |
export-audit-entries
Export audit entries as NDJSON
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project whose entries are exported |
action | string | no | Exact permission-action string, e.g. secrets:DeleteSecret |
principalId | string | no | Public id of the principal (user_… or key_…) |
resourcePublicId | string | no | Exact target resource public id, e.g. sec_… |
resourceSrn | string | no | SRN prefix match, e.g. soat:{project}:secret: |
from | string | no | Only entries created at or after this timestamp (ISO 8601) |
to | string | no | Only entries created at or before this timestamp (ISO 8601) |
get-audit-entry
Get an audit entry
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
entryId | string | yes | Audit entry ID |