Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    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

    Markdown

    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.

    CommandDescriptionUsageSource
    prb audit-logManage audit log entries.prb audit-log <command>View implementation
    prb audit-log exportExport audit log entries.prb audit-log exportView implementation
    prb audit-log listList audit log entries.prb audit-log listView implementation
    prb audit-log viewView an audit log entry.prb audit-log view <id>View implementation

    Manage audit log entries.

    prb audit-log <command>

    View command implementation.

    Export audit log entries.

    prb audit-log export

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --fromstring""—Start time in RFC3339 format (e.g. 2026-01-01T00:00:00Z)
    --orgstring""—Organization ID
    --tostring""—End time in RFC3339 format (e.g. 2026-02-01T00:00:00Z)
    Terminal window
    prb audit-log export --org <id> --from 2026-01-01T00:00:00Z --to 2026-02-01T00:00:00Z
    prb audit-log export --from 2026-03-01T00:00:00Z --to 2026-03-24T00:00:00Z

    View command implementation.

    List audit log entries.

    prb audit-log list

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --actionstring""—Filter by action (e.g. core:thirdParty:create)
    --actor-idstring""—Filter by actor ID
    --afterstring""—Cursor from the previous page (the Next cursor line)
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of entries to list
    --order-bystring""—Order by field (CREATED_AT)
    --order-directionstring"DESC"—Sort direction (ASC, DESC)
    --orgstring""—Organization ID
    --output, -ostring""—Output format: json, table (default)
    --resource-idstring""—Filter by resource ID
    --resource-typestring""—Filter by resource type (e.g. ThirdParty)
    Terminal window
    prb audit-log list
    prb audit-log list --action core:thirdParty:create
    prb audit-log list --resource-type ThirdParty --limit 50

    View command implementation.

    View an audit log entry.

    prb audit-log view <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --jsonbooleanfalse—Output JSON (same as —output json)
    --output, -ostring""—Output format: json, table (default)
    Terminal window
    prb audit-log view <audit-log-entry-id>

    View command implementation.