prb audit-log command reference
Reference for 4 commands under prb audit-log, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage audit log entries. This page documents 4 commands under prb audit-log.
Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.
Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.
Commands
Section titled “Commands”| Command | Description | Usage | Source |
|---|---|---|---|
prb audit-log | Manage audit log entries. | prb audit-log <command> | View implementation |
prb audit-log export | Export audit log entries. | prb audit-log export | View implementation |
prb audit-log list | List audit log entries. | prb audit-log list | View implementation |
prb audit-log view | View an audit log entry. | prb audit-log view <id> | View implementation |
prb audit-log
Section titled “prb audit-log”Manage audit log entries.
prb audit-log <command>prb audit-log export
Section titled “prb audit-log export”Export audit log entries.
prb audit-log exportAccepts no positional arguments.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--from | string | "" | — | Start time in RFC3339 format (e.g. 2026-01-01T00:00:00Z) |
--org | string | "" | — | Organization ID |
--to | string | "" | — | End time in RFC3339 format (e.g. 2026-02-01T00:00:00Z) |
Examples
Section titled “Examples”prb audit-log export --org <id> --from 2026-01-01T00:00:00Z --to 2026-02-01T00:00:00Zprb audit-log export --from 2026-03-01T00:00:00Z --to 2026-03-24T00:00:00Zprb audit-log list
Section titled “prb audit-log list”List audit log entries.
prb audit-log listAccepts no positional arguments.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--action | string | "" | — | Filter by action (e.g. core:thirdParty:create) |
--actor-id | string | "" | — | Filter by actor ID |
--after | string | "" | — | Cursor from the previous page (the Next cursor line) |
--json | boolean | false | — | Output JSON (same as —output json) |
--limit, -L | integer | 30 | — | Maximum number of entries to list |
--order-by | string | "" | — | Order by field (CREATED_AT) |
--order-direction | string | "DESC" | — | Sort direction (ASC, DESC) |
--org | string | "" | — | Organization ID |
--output, -o | string | "" | — | Output format: json, table (default) |
--resource-id | string | "" | — | Filter by resource ID |
--resource-type | string | "" | — | Filter by resource type (e.g. ThirdParty) |
Examples
Section titled “Examples”prb audit-log listprb audit-log list --action core:thirdParty:createprb audit-log list --resource-type ThirdParty --limit 50prb audit-log view
Section titled “prb audit-log view”View an audit log entry.
prb audit-log view <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--json | boolean | false | — | Output JSON (same as —output json) |
--output, -o | string | "" | — | Output format: json, table (default) |
Examples
Section titled “Examples”prb audit-log view <audit-log-entry-id>