Security
Audit Logs
Track authentication activity including login attempts, password resets, MFA changes, and administrative actions.
Successful Login
Failed Login
Password Reset
MFA Enabled
Enable Audit Logs
Store authentication and security related events for monitoring and compliance.
settings.py
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
AUTHKITS = {
"audit_logs": True
}Example Events
Authkits records important authentication and security actions automatically.
Audit Events
Login Success
2 min agoMFA Enabled
10 min agoLogin Failed
23 min agoPassword Reset
1 hour agoRetention Settings
Configure how long audit records should be retained.
settings.py
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
AUTHKITS = {
"audit_logs": {
"retention_days": 90,
}
}Next Steps
Deploy Authkits securely in production.
Deployment