Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.8] [Security Solution] Add Search Bar to Security D&R and EA Dashb…
…oards (#156832) (#157115) # Backport This will backport the following commits from `main` to `8.8`: - [[Security Solution] Add Search Bar to Security D&R and EA Dashboards (#156832)](#156832) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2023-05-08T23:58:14Z","message":"[Security Solution] Add Search Bar to Security D&R and EA Dashboards (#156832)\n\nMore details on the issue:\r\nhttps://github.com/elastic/security-team/issues/6504\r\n## TODO\r\n\r\n- [x] Unit tests\r\n- [ ] Cypress tests (follow-up PR)\r\n\r\n\r\n\r\n## Summary\r\n\r\n* Add global search bar and filter to EA and D&R pages.\r\n* Create `useGlobalFilterQuery` hook to simplify adding global search\r\nbar filters to a page\r\n* Filter alert column in risk table by time range \r\n\r\n\r\n\r\n\r\n\r\n<img width=\"1402\" alt=\"Screenshot 2023-05-08 at 13 27 54\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236812677-e6021d99-4be1-44d7-8449-26f9330d8b78.png\">\r\n\r\n### Tooltips explaining that some pages are not affected by the KQL\r\nsearch bar (Last minute addition)\r\n\r\n<img width=\"747\" alt=\"Screenshot 2023-05-08 at 17 57 32\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871990-3ebd60fa-ea45-4f98-a8d9-5813ac2b10de.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 37\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871998-94969be6-b194-4d19-b83e-12f9b96eda1b.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 51\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236872002-5255f799-f30b-44f1-bd90-8f19037b6915.png\">\r\n\r\n\r\n### Glossary\r\n* **EA:** Entity Analytics\r\n* **D&R:** Detection & Response\r\n\r\n### Checklist\r\n\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":"7fd9ca64b0fe99122584fa134e89c1abab9df613","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat Hunting","Team: SecuritySolution","Team:Threat Hunting:Explore","ci:cloud-deploy","v8.8.0","v8.9.0"],"number":156832,"url":"https://github.com/elastic/kibana/pull/156832","mergeCommit":{"message":"[Security Solution] Add Search Bar to Security D&R and EA Dashboards (#156832)\n\nMore details on the issue:\r\nhttps://github.com/elastic/security-team/issues/6504\r\n## TODO\r\n\r\n- [x] Unit tests\r\n- [ ] Cypress tests (follow-up PR)\r\n\r\n\r\n\r\n## Summary\r\n\r\n* Add global search bar and filter to EA and D&R pages.\r\n* Create `useGlobalFilterQuery` hook to simplify adding global search\r\nbar filters to a page\r\n* Filter alert column in risk table by time range \r\n\r\n\r\n\r\n\r\n\r\n<img width=\"1402\" alt=\"Screenshot 2023-05-08 at 13 27 54\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236812677-e6021d99-4be1-44d7-8449-26f9330d8b78.png\">\r\n\r\n### Tooltips explaining that some pages are not affected by the KQL\r\nsearch bar (Last minute addition)\r\n\r\n<img width=\"747\" alt=\"Screenshot 2023-05-08 at 17 57 32\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871990-3ebd60fa-ea45-4f98-a8d9-5813ac2b10de.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 37\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871998-94969be6-b194-4d19-b83e-12f9b96eda1b.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 51\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236872002-5255f799-f30b-44f1-bd90-8f19037b6915.png\">\r\n\r\n\r\n### Glossary\r\n* **EA:** Entity Analytics\r\n* **D&R:** Detection & Response\r\n\r\n### Checklist\r\n\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":"7fd9ca64b0fe99122584fa134e89c1abab9df613"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156832","number":156832,"mergeCommit":{"message":"[Security Solution] Add Search Bar to Security D&R and EA Dashboards (#156832)\n\nMore details on the issue:\r\nhttps://github.com/elastic/security-team/issues/6504\r\n## TODO\r\n\r\n- [x] Unit tests\r\n- [ ] Cypress tests (follow-up PR)\r\n\r\n\r\n\r\n## Summary\r\n\r\n* Add global search bar and filter to EA and D&R pages.\r\n* Create `useGlobalFilterQuery` hook to simplify adding global search\r\nbar filters to a page\r\n* Filter alert column in risk table by time range \r\n\r\n\r\n\r\n\r\n\r\n<img width=\"1402\" alt=\"Screenshot 2023-05-08 at 13 27 54\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236812677-e6021d99-4be1-44d7-8449-26f9330d8b78.png\">\r\n\r\n### Tooltips explaining that some pages are not affected by the KQL\r\nsearch bar (Last minute addition)\r\n\r\n<img width=\"747\" alt=\"Screenshot 2023-05-08 at 17 57 32\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871990-3ebd60fa-ea45-4f98-a8d9-5813ac2b10de.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 37\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236871998-94969be6-b194-4d19-b83e-12f9b96eda1b.png\">\r\n<img width=\"1512\" alt=\"Screenshot 2023-05-08 at 17 57 51\"\r\nsrc=\"https://user-images.githubusercontent.com/1490444/236872002-5255f799-f30b-44f1-bd90-8f19037b6915.png\">\r\n\r\n\r\n### Glossary\r\n* **EA:** Entity Analytics\r\n* **D&R:** Detection & Response\r\n\r\n### Checklist\r\n\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":"7fd9ca64b0fe99122584fa134e89c1abab9df613"}}]}] BACKPORT--> Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
- Loading branch information