[Security Solution] Detections fail when an index is missing a primary shard #101990
Labels
bug
Fixes for quality problems that affect the customer experience
enhancement
New value added to drive a business result
Feature:Detection Alerts
Security Solution Detection Alerts Feature
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Detection Engine
Security Solution Detection Engine Area
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Describe the bug:
If there is an index that is used in a detection rule, and that index is missing a primary shard (cluster in red state), the detection rules that use that index will fail with the error:
This results in the detection rule(s) not running, and therefore not detecting things.
Kibana/Elasticsearch Stack version:
Elasticsearch: 7.13.1
Kibana: 7.13.1
Server OS version:
OS: Docker/ECK
Browser and Browser OS versions:
N/A
Elastic Endpoint version:
N/A
Original install method (e.g. download page, yum, from source, etc.):
ECK
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Detections
Steps to reproduce:
Current behavior:
Detection rule fails when a primary shard is missing. This results in no detections occurring at all.
Expected behavior:
Detection rule should still work, but should instead show as warning. Detections should still trigger from the available indices.
Screenshots (if relevant):
N/A
Errors in browser console (if relevant):
N/A
Provide logs and/or server output (if relevant):
N/A
Any additional context (logs, chat logs, magical formulas, etc.):
I know that a red cluster state is bad, but sometimes it happens, and I would expect a security solution to best effort maintain monitoring of the environment while the red state is resolved.
The text was updated successfully, but these errors were encountered: