Stdout Channel
Writes a human-readable line per finding directly to stdout, bypassing the logger.
Configuration
[alerts.stdout]
enabled = false # default false
The channel is disabled by default.
When to use
- Quick local exploration:
pgsense-rs scan -c config.toml | grep ... - Pipeline-style integration where another process consumes stdout.
- Demos and screencasts where you want clean, unstructured output.
Warning
Enabling
stdoutand aconsole-formatlogoutput (default) at the same time interleaves finding lines with regular log output. For production use the Log Channel withformat = "json".
Format
Each line is a human-readable summary including the database identity, table, column, rule, and the masked value. The exact format is not stable across versions — don’t parse it programmatically. Use the JSONL Channel if you need a stable machine-readable representation.