Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Security Solution] Fix analyzer no data message in flyout when…
… analyzer is not enabled (#211981) (#211989) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Fix analyzer no data message in flyout when analyzer is not enabled (#211981)](#211981) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-20T23:00:20Z","message":"[Security Solution] Fix analyzer no data message in flyout when analyzer is not enabled (#211981)\n\n## Summary\n\nWhen an alert does not have analyzer enabled (i.e. no data), the\nanalyzer graph showed \"error loading data\". This PR added checks if\nanalyzer should be present and added no data message, this is consistent\nwith the analyzer preview.\n\n<img width=\"1412\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/11f905ba-c017-4847-98cd-5b773f5e9df7\"\n/>\n\n\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"70ece1055fe2623f1821a9ac8081cb0bef058566","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Threat Hunting:Investigations","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Security Solution] Fix analyzer no data message in flyout when analyzer is not enabled","number":211981,"url":"https://github.com/elastic/kibana/pull/211981","mergeCommit":{"message":"[Security Solution] Fix analyzer no data message in flyout when analyzer is not enabled (#211981)\n\n## Summary\n\nWhen an alert does not have analyzer enabled (i.e. no data), the\nanalyzer graph showed \"error loading data\". This PR added checks if\nanalyzer should be present and added no data message, this is consistent\nwith the analyzer preview.\n\n<img width=\"1412\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/11f905ba-c017-4847-98cd-5b773f5e9df7\"\n/>\n\n\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"70ece1055fe2623f1821a9ac8081cb0bef058566"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211981","number":211981,"mergeCommit":{"message":"[Security Solution] Fix analyzer no data message in flyout when analyzer is not enabled (#211981)\n\n## Summary\n\nWhen an alert does not have analyzer enabled (i.e. no data), the\nanalyzer graph showed \"error loading data\". This PR added checks if\nanalyzer should be present and added no data message, this is consistent\nwith the analyzer preview.\n\n<img width=\"1412\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/11f905ba-c017-4847-98cd-5b773f5e9df7\"\n/>\n\n\n\n### Checklist\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"70ece1055fe2623f1821a9ac8081cb0bef058566"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
- Loading branch information