elastic/kibana

[Security Solution] Redundant Warning Messages in Rule Preview When Exceeding Alert Limit

Open

#211821 opened on Feb 19, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (19,065 stars) (8,021 forks)batch import
Feature:Detection Rule PreviewTeam: SecuritySolutionTeam:Detection EngineTeam:Detections and Respbugeffort:lowgood first issueimpact:lowvalue:low

Description

Description:

When a user enters a query in Rule Preview that generates more alerts than the maximum allowed, a general warning message is correctly displayed stating that some alerts were not created. However, instead of a single warning, multiple redundant warning messages appear, each displaying the same information.

Kibana/Elasticsearch Stack version:

8.18 BC4

Functional Area (e.g. Endpoint management, timelines, resolver, etc.):

Detection Rules Preview

Steps to reproduce:

  1. Navigate to Detection Rules and create/edit a rule.
  2. Enter a query that is expected to generate a high number of alerts exceeding the maximum alert limit.
  3. Click Rule Preview to preview the alerts.
  4. Observe that multiple identical warning messages appear, instead of a single consolidated message.

Current behavior:

The UI shows multiple redundant warning messages, all conveying the same information.

Expected behavior:

A single warning message should be displayed to inform the user that the maximum alert limit has been reached, preventing unnecessary redundancy.

Screenshots:

https://github.com/user-attachments/assets/331e0c58-ae14-483d-a0a7-7840adacd7e4

Contributor guide