Usage
Flags
Directory containing audit JSONL files
Policy file name to display in status header
Display mode label (shown in header)
Filter to a single agent in view
Filter by decision:
allow, deny, log, webhookFilter by tool name:
exec, read, write, fetchServe API URL for interactive approvals
Bearer token for serve API (auto-detected from
~/.rampart/token)Examples
Basic usage
Filtering
Interactive approvals
Display
Header
Event stream
- ✅ Green - Allow
- 🔴 Red - Deny
- 🟡 Yellow - Watch/Log
- 👤 Purple - Approval required
- 🔗 Blue - Webhook
Footer
Interactive features
Keyboard shortcuts
q- Quit↑/↓- Scroll through eventsa- Approve highlighted request (if pending)d- Deny highlighted request (if pending)f- Toggle filtersr- Refresh
Approval flow
Whenrampart serve is running with interactive approvals enabled:
- Pending request appears - Highlighted in purple
- Select with arrow keys
- Press
ato approve ordto deny - Confirmation shown - Event updated in real-time
Auto-discovery
Watch auto-discovers:- Audit directory -
~/.rampart/audit - Serve URL -
http://localhost:9090or$RAMPART_SERVE_URL - Token -
~/.rampart/tokenor$RAMPART_TOKEN
Filtering examples
Event details
Each line shows:- Icon - Decision type (✅/🔴/🟡/👤)
- Time - HH:MM:SS format
- Tool - Tool name (exec, read, write, fetch)
- Command/Path - Truncated to fit
- Policy - Matched policy name in brackets
Troubleshooting
No events appearing
Check audit directory:Approvals not working
Check serve URL:Colors not showing
Force color:Exit
Pressq or Ctrl+C to exit.
See also
- rampart log - Pretty-print audit events
- rampart audit - Audit trail commands
- rampart pending - CLI approval management
- Dashboard - Web UI alternative