-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Fix analyzer preview for ES|QL rule type and 7.X …
…alerts (#178389) ## Summary This PR adds sourcerer index patterns to analyzer preview (cherry picked from [PR](https://github.com/elastic/kibana/pull/176332/files#diff-eed5f590fe397c4ef11097a1f1f05ce4f1906f0066c39cf5e040e367b6680717R50)). Previously we only pull indices from `kibana.alert.rule.indices` but this field is not always present for non-index related rules (ES|QL) or past kibana versions (7.x) Address: #174596 #169373 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
1 parent
8d2950c
commit 4044067
Showing
3 changed files
with
42 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters