Keycloak high number of error events from a realm

This rule is part of a beta feature. To learn more, contact Support.

Set up the keycloak integration.

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Goal

Detects when there is a high number of error events from a realm. A realm in Keycloak is an isolated space where users, apps, roles, and groups are managed.

Strategy

This rule monitors logs for a high number of error events from a realm.

Triage and Response

  1. Investigate the error event logs recorded for the system: {{@syslog.hostname}} and within the realm: {{@realmName}}.
  2. Examine the source and types of the detected error events.
  3. Determine whether the errors are originating from a specific user or client.
  4. Analyze if the errors are of a particular type to assess whether they indicate an attack or a misconfiguration issue.
  5. If the events are confirmed as an attack, take action to block the source to prevent further incidents.
  6. Notify affected users about the errors and advise them to take protective measures, such as changing their passwords if suspicious activity is confirmed.
  7. Consider conducting a thorough review of security configurations within the realm to identify any vulnerabilities.