Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.14] [Security Solution][Alert KPI] Fix leading wildcard in KPI vis…
…ualizations (#182875) (#185898) # Backport This will backport the following commits from `main` to `8.14`: - [[Security Solution][Alert KPI] Fix leading wildcard in KPI visualizations (#182875)](#182875) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-06-03T20:27:17Z","message":"[Security Solution][Alert KPI] Fix leading wildcard in KPI visualizations (#182875)\n\n## Summary\r\n\r\nSummary charts and tree map were not handling leading wildcards. This PR\r\nupdated the query to reflect advanced settings. If leading wildcard is\r\nnot selected, an error toast should appear.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/c05c9ca4-2f33-4d84-9479-c09a6a81a6d5)\r\n\r\nRelated: https://github.com/elastic/kibana/issues/182757\r\n\r\nAfter: when leading wildcard is set to true: \r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/38a57cbb-a818-410e-b73b-08b545be4725)\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/66d6647b-ef77-42c0-b431-fd99c4705b7e)","sha":"f2a8306734f2616944aced87d822b974dc57012d","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:skip","Team:Threat Hunting","Team:Threat Hunting:Investigations","v8.15.0"],"number":182875,"url":"https://github.com/elastic/kibana/pull/182875","mergeCommit":{"message":"[Security Solution][Alert KPI] Fix leading wildcard in KPI visualizations (#182875)\n\n## Summary\r\n\r\nSummary charts and tree map were not handling leading wildcards. This PR\r\nupdated the query to reflect advanced settings. If leading wildcard is\r\nnot selected, an error toast should appear.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/c05c9ca4-2f33-4d84-9479-c09a6a81a6d5)\r\n\r\nRelated: https://github.com/elastic/kibana/issues/182757\r\n\r\nAfter: when leading wildcard is set to true: \r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/38a57cbb-a818-410e-b73b-08b545be4725)\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/66d6647b-ef77-42c0-b431-fd99c4705b7e)","sha":"f2a8306734f2616944aced87d822b974dc57012d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182875","number":182875,"mergeCommit":{"message":"[Security Solution][Alert KPI] Fix leading wildcard in KPI visualizations (#182875)\n\n## Summary\r\n\r\nSummary charts and tree map were not handling leading wildcards. This PR\r\nupdated the query to reflect advanced settings. If leading wildcard is\r\nnot selected, an error toast should appear.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/c05c9ca4-2f33-4d84-9479-c09a6a81a6d5)\r\n\r\nRelated: https://github.com/elastic/kibana/issues/182757\r\n\r\nAfter: when leading wildcard is set to true: \r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/38a57cbb-a818-410e-b73b-08b545be4725)\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/18648970/66d6647b-ef77-42c0-b431-fd99c4705b7e)","sha":"f2a8306734f2616944aced87d822b974dc57012d"}}]}] BACKPORT-->
- Loading branch information