-
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.
[8.12] [Security Solution] Alert flyout - update document id in analy…
…zer preview and same ancestry (#174651) (#174972) # Backport This will backport the following commits from `main` to `8.12`: - [[Security Solution] Alert flyout - update document id in analyzer preview and same ancestry (#174651)](#174651) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-16T21:30:32Z","message":"[Security Solution] Alert flyout - update document id in analyzer preview and same ancestry (#174651)\n\n## Summary\r\n\r\nAddress: https://github.com/elastic/kibana/issues/169373\r\n\r\nThis PR updates the use of `kibana.alert.ancestor.id` to `_id`\r\n(available in flyout context as `eventId`) in analyzer preview and\r\nalerts by ancestry. This change allows upgrade from 7.x kibana to 8.10+\r\nto utilize analyzer preview.\r\n\r\nNo UI change introduced.\r\n\r\n**How to test**\r\n- Analyzer preview should match that of prior to the change\r\n- Alert by ancestry in correlations overview (right section) and\r\ncorrelations tab (left section -> Insights) should match that of prior\r\nto the change\r\n- Analyzer preview should match the analyzer viewer in alerts table\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f288919b144dbfc2e99a3ff689ddfc0707c89379","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat Hunting","Team:Threat Hunting:Investigations","v8.12.1","v8.13.0"],"title":"[Security Solution] Alert flyout - update document id in analyzer preview and same ancestry","number":174651,"url":"https://github.com/elastic/kibana/pull/174651","mergeCommit":{"message":"[Security Solution] Alert flyout - update document id in analyzer preview and same ancestry (#174651)\n\n## Summary\r\n\r\nAddress: https://github.com/elastic/kibana/issues/169373\r\n\r\nThis PR updates the use of `kibana.alert.ancestor.id` to `_id`\r\n(available in flyout context as `eventId`) in analyzer preview and\r\nalerts by ancestry. This change allows upgrade from 7.x kibana to 8.10+\r\nto utilize analyzer preview.\r\n\r\nNo UI change introduced.\r\n\r\n**How to test**\r\n- Analyzer preview should match that of prior to the change\r\n- Alert by ancestry in correlations overview (right section) and\r\ncorrelations tab (left section -> Insights) should match that of prior\r\nto the change\r\n- Analyzer preview should match the analyzer viewer in alerts table\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f288919b144dbfc2e99a3ff689ddfc0707c89379"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174651","number":174651,"mergeCommit":{"message":"[Security Solution] Alert flyout - update document id in analyzer preview and same ancestry (#174651)\n\n## Summary\r\n\r\nAddress: https://github.com/elastic/kibana/issues/169373\r\n\r\nThis PR updates the use of `kibana.alert.ancestor.id` to `_id`\r\n(available in flyout context as `eventId`) in analyzer preview and\r\nalerts by ancestry. This change allows upgrade from 7.x kibana to 8.10+\r\nto utilize analyzer preview.\r\n\r\nNo UI change introduced.\r\n\r\n**How to test**\r\n- Analyzer preview should match that of prior to the change\r\n- Alert by ancestry in correlations overview (right section) and\r\ncorrelations tab (left section -> Insights) should match that of prior\r\nto the change\r\n- Analyzer preview should match the analyzer viewer in alerts table\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f288919b144dbfc2e99a3ff689ddfc0707c89379"}}]}] BACKPORT--> Co-authored-by: christineweng <[email protected]>
- Loading branch information
1 parent
485960a
commit 2dde765
Showing
12 changed files
with
29 additions
and
82 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
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
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
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