-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Resolver, revert to default data view #121711
[Security Solution] Resolver, revert to default data view #121711
Conversation
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally, works as before. lgtm 👍
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…121771) Co-authored-by: Steph Milovic <[email protected]>
Summary
Resolves #120859
In the 8.0 sourcerer upgrade, we started getting the Resolver data view from the
sourcerer.sourcererScopes.timeline.selectedPatterns
and this introduced a bug. We used to get it from a mix of the default index patterns and the signals index. This is what the value ofsourcerer.defaultDataView.patternList
is. Therefore, in non-timeline Resolver views when the Timeline data view is changed to something likemetrics-*
that would not match any Resolver events, these views would break.I added logic to only use the
sourcerer.sourcererScopes.timeline.selectedPatterns
when GraphOverlayisInTimeline=true
and use the default data view patternList otherwise. However, there will still be a bug if a user makes an Endpoint rule for indices not in the default pattern. This bug existed prior to the 8.0 sourcerer upgrade, and due to holidays/feature freeze I will only be fixing the new bug introduced by the 8.0 sourcerer upgrade upgrade.Checklist
Delete any items that are not applicable to this PR.