PgBeam Docs
audit

audit list

List agent audit log entries

List agent statement audit entries for the linked project, newest first. Filter by credential or event type (e.g. blocked) to focus on policy violations.

Usage

pgbeam audit list [flags]

Options

OptionDescriptionRequiredDefault
--credential <value>Filter to one agent credential IDNo-
--event <value>Filter to one event type (e.g. blocked)No-
--limit <value>Maximum entries to return (default 20)No-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Recent audit entries
pgbeam audit list

# Only blocked statements
pgbeam audit list --event blocked

# Entries for one credential
pgbeam audit list --credential agt_xxx

Output

Displays a table with columns: Time, Event, Kind, Rule, and SQL.

On this page