Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Inventory][Hosts] Make alert count consistent with the alerts …
…page using a filter (elastic#203003) (elastic#203400) # Backport This will backport the following commits from `main` to `8.x`: - [[Inventory][Hosts] Make alert count consistent with the alerts page using a filter (elastic#203003)](elastic#203003) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-09T11:48:15Z","message":"[Inventory][Hosts] Make alert count consistent with the alerts page using a filter (elastic#203003)\n\nCloses elastic#202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes inconsistencies between the alerts shown on hosts view and\r\ninventory and the alerts page. The fix includes using consistent rule\r\ntypes and filters for both getting the alert count and filters applied\r\non the alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory )\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts view (+filters) Alerts (Inventory & Custom Threshold rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc: @roshan-elastic Ping to check the videos of the fix :)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.18.0"],"title":"[Inventory][Hosts] Make alert count consistent with the alerts page using a filter","number":203003,"url":"https://github.com/elastic/kibana/pull/203003","mergeCommit":{"message":"[Inventory][Hosts] Make alert count consistent with the alerts page using a filter (elastic#203003)\n\nCloses elastic#202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes inconsistencies between the alerts shown on hosts view and\r\ninventory and the alerts page. The fix includes using consistent rule\r\ntypes and filters for both getting the alert count and filters applied\r\non the alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory )\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts view (+filters) Alerts (Inventory & Custom Threshold rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc: @roshan-elastic Ping to check the videos of the fix :)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203003","number":203003,"mergeCommit":{"message":"[Inventory][Hosts] Make alert count consistent with the alerts page using a filter (elastic#203003)\n\nCloses elastic#202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes inconsistencies between the alerts shown on hosts view and\r\ninventory and the alerts page. The fix includes using consistent rule\r\ntypes and filters for both getting the alert count and filters applied\r\non the alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory )\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts view (+filters) Alerts (Inventory & Custom Threshold rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc: @roshan-elastic Ping to check the videos of the fix :)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: jennypavlova <[email protected]>
- Loading branch information