Audit Logs
Track who changed what and when
Flipswitch logs all changes to flags, rules, and configuration. See who did what, when, and what changed.
What's Logged
Every significant action creates an audit log entry:
| Action | Details Captured |
|---|---|
| Flag created | Flag key, type, default value |
| Flag updated | Changed fields, old and new values |
| Flag deleted | Flag key |
| Flag enabled/disabled | Environment, previous state |
| Rule added | Conditions, variant |
| Rule updated | Old and new conditions/variants |
| Rule deleted | Rule details |
| Segment created | Segment key, conditions |
| Segment updated | Changed conditions |
| API key created | Environment (auto-created with environment) |
| API key rotated | Leeway period |
| API key rotation aborted | Whether new key was used |
| API key rotation completed | Immediate revocation |
Viewing Audit Logs
Navigate to Project > Audit Log to see all changes for a project.
Each entry shows:
Filtering
Filter audit logs by:
- Date range - Last 24 hours, 7 days, 30 days, or custom
- User - See all changes by a specific user
- Flag - See all changes to a specific flag
- Action type - Only show flag toggles, rule changes, etc.
Entry Details
Click on an audit log entry to see full details:
Use Cases
Debugging. Something changed and broke production? Check the audit log to see what was modified and by whom.
Compliance. Need to demonstrate who has access to production flag changes? Export audit logs for compliance reports.
Accountability. Know who enabled that flag at 2am on Saturday.
Retention
Audit logs are retained for:
- Standard plans: 90 days
- Enterprise plans: 1 year+
Contact support if you need longer retention or log exports for compliance requirements.
Best Practices
Check before major changes. Before enabling a flag in production, review recent changes to understand current state.
Set up alerts. Use the API to monitor for unexpected changes and alert your team.
Regular reviews. Periodically review audit logs to ensure access patterns are appropriate.