Query structured federation audit logs. Supports compliance mode filtering (HIPAA, SOC2, GDPR) and severity filtering.
Steps:
- Parse compliance mode, date range, and severity from arguments
npx -y -p @claude-flow/plugin-agent-federation@latest ruflo-federation audit --compliance MODE --since DATE --severity LEVEL- Summarize findings: total events, PII detections, threat blocks, trust changes
- Highlight any critical or error-severity events
| Compliance Mode | What's Logged |
|---|---|
| HIPAA | Full audit trail, no PII in logs, PHI detection, 6-year retention |
| SOC2 | Access control events, change management, availability monitoring |
| GDPR | Data processing records, consent tracking, right to erasure, data residency |