elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.23k forks source link

[Security Solution] Incorrect Field Count in Conflict Message #200286

Open pborgonovi opened 4 hours ago

pborgonovi commented 4 hours ago

Describe the bug:

When reviewing rule updates in the Update Flyout, the conflict message incorrectly displays the total number of fields with update conflicts. The message consistently shows a count of Fields + 1, regardless of the actual number of conflicting fields.

Kibana/Elasticsearch Stack version:

8.x

Current branch: 8.x  
Latest commit: d0c9a2f1f52 - [8.x] [Stack Monitoring / Logs] Fix Stack Monitoring logs links (#200043) (#200227)  
Remote tracking: origin/8.x  
Status relative to remote: up to date (no pending commits)  

Server OS version:

Browser and Browser OS versions:

Elastic Endpoint version:

Original install method (e.g. download page, yum, from source, etc.):

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

Steps to reproduce:

  1. Open the Rule Updates table.
  2. Select a rule with conflicting fields and click to review the update.
  3. Observe the Update Flyout conflict message at the top of the page.

Current behavior: The conflict messages states:

Where X = Actual fields + 1.

Expected behavior: The conflict message should accurately reflect the actual number of conflicting fields.

Screenshots (if relevant):

Image

Image

Image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context (logs, chat logs, magical formulas, etc.):

elasticmachine commented 4 hours ago

Pinging @elastic/security-solution (Team: SecuritySolution)

elasticmachine commented 4 hours ago

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

elasticmachine commented 4 hours ago

Pinging @elastic/security-detections-response (Team:Detections and Resp)