Audit
Member activity is recorded in one of three places:
- the platform's MongoDB database, by default;
- the platform's PostgreSQL database;
- the PostgreSQL database of Keycloak.
Platform audit service
| Function | What it covers |
|---|---|
| Member activity | Logging of critical actions: sign-ins, data changes, access to sensitive resources |
| System events | Detection of errors, failures and unauthorized access |
| Data change tracking | Who changed what, when and how |
| Compliance reports | Reports for regulatory and certification audits, such as data-protection law or ISO 27001 |
| Real-time alerts | Alerts on suspicious activity, such as repeated sign-in failures within a minute |
| Retention policies | Archiving and purging of logs according to the retention period that applies |
| Integration with analysis tools | Correlation with other log sources, through OpenSearch, for centralized analysis |
| Access rights audit | Review of members' permissions and detection of inappropriate access |
| Forensic analysis | Investigation of security incidents |
| Low overhead | Minimal impact on the performance of the platform |
Keycloak events
Keycloak records close to a hundred event types, which can be enabled for all members of the
openent realm. Each has an error counterpart, for example Login and Login error.
| Family | Events |
|---|---|
| Sign-in and sign-out | Login, Logout, Client login, Restart authentication, Code to token, Token exchange |
| Registration and account | Register, Update profile, Verify profile, Update email, Verify email, Delete account |
| Credentials | Update password, Reset password, Send reset password, Update credential, Remove credential, Update totp, Remove totp |
| Federated identities | Federated identity link, Remove federated identity, Identity provider link account, Identity provider first login, Identity provider post login |
| Consent | Grant consent, Update consent, Revoke grant |
| Clients | Client register, Client update, Client delete, Client initiated account linking |
| Devices | OAuth2 device authentication, OAuth2 device verify user code, OAuth2 device code to token |
| Administration | Impersonate, Execute actions, Custom required action |
| Lockout | User disabled by permanent lockout, User disabled by temporary lockout |
See also Devices and active sessions for the supervision of open sessions.