Skip to main content

User and Admin Events

Introduction

KOBIL IAM offers extensive auditing features that enable you to record every login and administrator action directly within the Admin Console.

Event Types in KOBIL IAM

  • User Events
  • Admin Events

User Events

All user-related events can be recorded and viewed under the User Events tab. This includes actions like successful logins, incorrect password attempts, profile updates, and more.

Events

How to configure User Events

Step 1: Navigate to Realm Settings.

Step 2: Click on Events tab.

Step 3: Under User Events Settings toggle the Save Events to ON.

Step 4: Click on Save.

Events

Parameters in User Events Config

ParameterDescription
Save EventsThis allows to specify which type of events to be recorded in the Event store.
Clear user eventsThis parameter allows you to delete all recorded events from database.
ExpirationThis parameter sets a time limit for storing events before automatically deleting them. Expired events will be periodically deleted from the database. For instance, you can specify the number of days after which events will expire and be removed.

To view all the actions that has been taken place, Navigate to User Events.

UserEvents

Five Major types of User Events

Event TypesDescription
LoginThis event indicates that a user has successfully authenticated and gained access to their account.
RegisterThis event signifies that a new user has created an account within the system.
LogoutThis event occurs when a user has ended their session and logged out of their account.
Code to TokenThis event marks the process where an application or client exchanges an authorization code for an access token.
Refresh TokenThis event involves an application or client requesting a new access token using a refresh token for existing session

Admin Events

Admin Events let you view and review all actions that administrators perform within the tenant. This feature shows you who made specific changes, what modifications they made, and when those actions occurred, providing transparency and accountability in managing the Keycloak environment.

Admin

How to configure Admin Events

Step 1: Navigate to Realm Settings.

Step 2: Click on Events tab.

Step 3: Under Admin Events Settings toggle the Save Events to ON.

Step 4: Toggle Include Representation to ON if representation is required.

Step 5: Click Save.

Parameters in Admin Events Config

The Save Events and Clear admin events parameters in the Admin Events configuration function the same as in the User Events table

ParameterDescription
Include RepresentationThis parameter provides detailed information about each event, including additional data and metadata.

Events

To view all the actions that has been taken place, navigate to Admin Events.

Events