Skip to main content

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​

FunctionWhat it covers
Member activityLogging of critical actions: sign-ins, data changes, access to sensitive resources
System eventsDetection of errors, failures and unauthorized access
Data change trackingWho changed what, when and how
Compliance reportsReports for regulatory and certification audits, such as data-protection law or ISO 27001
Real-time alertsAlerts on suspicious activity, such as repeated sign-in failures within a minute
Retention policiesArchiving and purging of logs according to the retention period that applies
Integration with analysis toolsCorrelation with other log sources, through OpenSearch, for centralized analysis
Access rights auditReview of members' permissions and detection of inappropriate access
Forensic analysisInvestigation of security incidents
Low overheadMinimal 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.

FamilyEvents
Sign-in and sign-outLogin, Logout, Client login, Restart authentication, Code to token, Token exchange
Registration and accountRegister, Update profile, Verify profile, Update email, Verify email, Delete account
CredentialsUpdate password, Reset password, Send reset password, Update credential, Remove credential, Update totp, Remove totp
Federated identitiesFederated identity link, Remove federated identity, Identity provider link account, Identity provider first login, Identity provider post login
ConsentGrant consent, Update consent, Revoke grant
ClientsClient register, Client update, Client delete, Client initiated account linking
DevicesOAuth2 device authentication, OAuth2 device verify user code, OAuth2 device code to token
AdministrationImpersonate, Execute actions, Custom required action
LockoutUser disabled by permanent lockout, User disabled by temporary lockout

See also Devices and active sessions for the supervision of open sessions.