[Security Solution][Sourcerer] Delay in Alerts Security Data View initialization after Alerts index is created #131427
Labels
8.4 candidate
bug
Fixes for quality problems that affect the customer experience
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Feature:Detection Alerts
Security Solution Detection Alerts Feature
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Team:Threat Hunting:Investigations
Security Solution Investigations Team
Team:Threat Hunting
Security Solution Threat Hunting Team
First identified by @xcrzx over in #130072 (comment), it was noticed that there can be a delay between when Sourcerer initializes the
Alert Security Data View
and when the actual index is created, resulting in a few errors on the page and some features not working as expected until theAlert Security Data View
is fully initialized. This is a by-product of the alerts index not being created until the first alert is detected/written, and Sourcerer not being synced with other network requests on the Rule Details page (and so you can refresh Alerts/Execution Logs without an active Sourcerer, resulting in errors).To reproduce:
Error shown to user when Sourcerer can't initialize
Sourcerer uninitialized in UI
Refresh after alerts index is created Sourcerer is then initialized
Expected behavior:
refresh
, but in this instance refreshing before an alert is made will not resolve the issue, so may want to just adjust copy here./api/detection_engine/index
is updated on the page or before other dependent requests are made. I.e., ensure subsequent calls to get alerts/execution logs/etc also trigger a re-initialization of Sourcerer so they aren't in a bad state.The text was updated successfully, but these errors were encountered: