Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.8] [Security Solution] Add Search Bar to Security D&R and EA Dashboards (#156832) #157115

Merged
merged 2 commits into from
May 9, 2023

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.8:

Questions ?

Please refer to the Backport tool documentation

…lastic#156832)

More details on the issue:
elastic/security-team#6504
## TODO

- [x] Unit tests
- [ ] Cypress tests (follow-up PR)

## Summary

* Add global search bar and filter to EA and D&R pages.
* Create `useGlobalFilterQuery` hook to simplify adding global search
bar filters to a page
* Filter alert column in risk table by time range

![May-05-2023
15-12-34](https://user-images.githubusercontent.com/1490444/236467186-f6e6c435-447b-41f4-a6b6-8bd4a3deb498.gif)
![May-05-2023
15-13-42](https://user-images.githubusercontent.com/1490444/236467191-df8cc05a-3c0c-4f37-929f-4d7723e23055.gif)

<img width="1402" alt="Screenshot 2023-05-08 at 13 27 54"
src="https://user-images.githubusercontent.com/1490444/236812677-e6021d99-4be1-44d7-8449-26f9330d8b78.png">

### Tooltips explaining that some pages are not affected by the KQL
search bar (Last minute addition)

<img width="747" alt="Screenshot 2023-05-08 at 17 57 32"
src="https://user-images.githubusercontent.com/1490444/236871990-3ebd60fa-ea45-4f98-a8d9-5813ac2b10de.png">
<img width="1512" alt="Screenshot 2023-05-08 at 17 57 37"
src="https://user-images.githubusercontent.com/1490444/236871998-94969be6-b194-4d19-b83e-12f9b96eda1b.png">
<img width="1512" alt="Screenshot 2023-05-08 at 17 57 51"
src="https://user-images.githubusercontent.com/1490444/236872002-5255f799-f30b-44f1-bd90-8f19037b6915.png">

### Glossary
* **EA:** Entity Analytics
* **D&R:** Detection & Response

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 7fd9ca6)
@stephmilovic
Copy link
Contributor

@elasticmachine merge upstream

@kibanamachine kibanamachine merged commit bea8802 into elastic:8.8 May 9, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 3861 3862 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.1MB 9.1MB +2.8KB
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 17 19 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 18 20 +2
securitySolution 479 482 +3
total +5

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @machadoum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants