[Security Solution][Detection Engine] When sets of documents have identical timestamps, they can potentially be skipped during alert creation #164233
Labels
bug
Fixes for quality problems that affect the customer experience
consider-next
Feature:Detection Alerts
Security Solution Detection Alerts Feature
impact:high
Addressing this issue will have a high 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.
Overview
During alert creation within the detection engine, sets of alerts that have the same timestamp can potentially be skipped over. This occurs if a set of alerts that have identical timestamps are present at the end of a search window, overlapping between the current and next pages. We use the
search_after
es parameter to paginate through the search results, but if there are any remaining alerts that have an identical timestamp remaining past the end of the search window, they will be skipped when retrieving the next result.Example
Possible solutions
A solution to this might be incorporating a PIT for the search to ensure events don't get skipped when paginating through search results.
Related occurrences
The text was updated successfully, but these errors were encountered: