| name | federation-audit |
| description | Query federation audit logs with compliance filtering |
| allowed-tools | Bash(npx *) mcp__claude-flow__memory_search Read Grep |
| argument-hint | [--compliance hipaa|soc2|gdpr] [--since DATE] [--severity critical|error|warn|info] |
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 @claude-flow/cli@latest 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 |