Audit Logging
Overwatch maintains a complete audit trail of all tool calls, decisions, and session grants.What’s Logged
Every tool call records:| Field | Description |
|---|---|
id | Unique entry ID (UUID) |
timestamp | When the call occurred |
server | MCP server name |
tool | Tool that was called |
args | Tool arguments (may be redacted) |
riskLevel | Classified risk level |
decision | allowed or denied |
sessionId | Session grant ID (if applicable) |
duration | Execution time (ms) |
error | Error message (if failed) |
Storage
Audit logs are stored in SQLite at~/.overwatch/audit.db.
Configuration
PII Redaction
WhenredactPII: true, sensitive data is automatically redacted:
- Email addresses
- IP addresses
- Credit card numbers
- API keys (patterns)
- Passwords in URLs
[REDACTED].
Querying Logs
CLI
Export Formats
JSON
CSV
CEF (Common Event Format)
For SIEM integration:| Risk Level | CEF Severity |
|---|---|
| dangerous | 10 |
| destructive | 8 |
| write | 5 |
| read | 3 |
| safe | 1 |
Statistics
Best Practices
- Enable PII redaction - Protect sensitive data
- Export regularly - Archive to long-term storage
- Monitor denials - High denial rate may indicate attacks
- Integrate with SIEM - Use CEF export for security monitoring
- Review statistics - Identify unusual patterns