-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solutions] Update risk score tables to filter by timerange #168826
Conversation
d12bae7
to
faa0e29
Compare
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had one brief question about the code changes that I didn't quite understand; apologies if it's obvious.
I reviewed the code and it looks good; I am holding off on approving because I haven't had a chance to smoke test this myself. I will do so Monday if this still needs review, then.
x-pack/plugins/security_solution/public/overview/components/user_overview/index.tsx
Show resolved
Hide resolved
b3b21c7
to
a9c9596
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed code last week; smoke tested and read through cypress tests today. LGTM.
Hey Angela, thank you for the careful review! I understand that this feature might be confusing. The risk engine enhances the alert document with the current user/host risk score on alert creation. It means that the first alerts won't have the user/host risk score because the risk score is calculated later. The alert document also stores the field with its original name "user.risk.calculated_level" and has no descriptive label. Here is the ticket that implemented the feature #139478 |
💔 Build FailedFailed CI StepsTest Failures
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @machadoum |
…lastic#168826) issue: elastic#162451 ## Summary * Update Entity analytics dashboard to filter by timerange and to display timestamp field * Update Users risk score tab to filter by timerange and to display timestamp field * Update Hosts risk score tab to filter by timerange and to display timestamp field * Delete tooltip that used to warn users that risk tables din't filter by timerange <img width="1501" alt="Screenshot 2023-10-13 at 11 54 19" src="https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf"> <img width="1506" alt="Screenshot 2023-10-13 at 11 54 38" src="https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5"> <img width="1497" alt="Screenshot 2023-10-13 at 11 54 53" src="https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b"> ### How to test * Create alerts and enable the risk engine * Check if the Entity analytics dashboard filters by timerange * Check if the Users risk score tab filters by timerange * Check if the Hosts risk score tab filters by timerange * Check if the risk score on top of the user details page does NOT filter by timerange * Check if the risk score inside flyouts (Alerts, users and hosts) does NOT filter by timerange * Check if the info tooltips about the timerange filter were removed ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 e12cfc1) # Conflicts: # x-pack/plugins/security_solution/public/explore/containers/risk_score/kpi/index.tsx # x-pack/test/security_solution_cypress/cypress/e2e/explore/dashboards/entity_analytics.cy.ts
…erange (#168826) (#169502) # Backport This will backport the following commits from `main` to `8.11`: - [[Security Solutions] Update risk score tables to filter by timerange (#168826)](#168826) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-19T10:30:28Z","message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:skip","Team:Threat Hunting","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","v8.12.0"],"number":168826,"url":"https://github.com/elastic/kibana/pull/168826","mergeCommit":{"message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168826","number":168826,"mergeCommit":{"message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}}]}] BACKPORT-->
…r by timerange (elastic#168826) (elastic#169502)" Let's wait for 8.11.0 release and merge it to 8.11.1 This reverts commit 0fea774.
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…lastic#168826) issue: elastic#162451 ## Summary * Update Entity analytics dashboard to filter by timerange and to display timestamp field * Update Users risk score tab to filter by timerange and to display timestamp field * Update Hosts risk score tab to filter by timerange and to display timestamp field * Delete tooltip that used to warn users that risk tables din't filter by timerange <img width="1501" alt="Screenshot 2023-10-13 at 11 54 19" src="https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf"> <img width="1506" alt="Screenshot 2023-10-13 at 11 54 38" src="https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5"> <img width="1497" alt="Screenshot 2023-10-13 at 11 54 53" src="https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b"> ### How to test * Create alerts and enable the risk engine * Check if the Entity analytics dashboard filters by timerange * Check if the Users risk score tab filters by timerange * Check if the Hosts risk score tab filters by timerange * Check if the risk score on top of the user details page does NOT filter by timerange * Check if the risk score inside flyouts (Alerts, users and hosts) does NOT filter by timerange * Check if the info tooltips about the timerange filter were removed ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 e12cfc1) # Conflicts: # x-pack/plugins/security_solution/public/explore/containers/risk_score/kpi/index.tsx # x-pack/plugins/translations/translations/fr-FR.json # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json # x-pack/test/security_solution_cypress/cypress/e2e/explore/dashboards/entity_analytics.cy.ts
…erange (#168826) (#170928) # Backport This will backport the following commits from `main` to `8.11`: - [[Security Solutions] Update risk score tables to filter by timerange (#168826)](#168826) Now that the 8.11.0 release is closed elastic/dev#2367 we can merge #168826 to 8.11.1 <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-19T10:30:28Z","message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:skip","Team:Threat Hunting","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","v8.12.0","v8.11.1"],"number":168826,"url":"https://github.com/elastic/kibana/pull/168826","mergeCommit":{"message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168826","number":168826,"mergeCommit":{"message":"[Security Solutions] Update risk score tables to filter by timerange (#168826)\n\nissue: https://github.com/elastic/kibana/issues/162451\r\n\r\n## Summary\r\n\r\n* Update Entity analytics dashboard to filter by timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Update Hosts risk score tab to filter by timerange and to display\r\ntimestamp field\r\n* Delete tooltip that used to warn users that risk tables din't filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot 2023-10-13 at 11 54 19\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54 38\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54 53\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n### How to test\r\n* Create alerts and enable the risk engine\r\n* Check if the Entity analytics dashboard filters by timerange\r\n* Check if the Users risk score tab filters by timerange\r\n* Check if the Hosts risk score tab filters by timerange\r\n* Check if the risk score on top of the user details page does NOT\r\nfilter by timerange\r\n* Check if the risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter by timerange\r\n* Check if the info tooltips about the timerange filter were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/169502","number":169502,"state":"MERGED","mergeCommit":{"sha":"0fea774ea1c4fcf4424c44c1e4aa8d312ff2252a","message":"[8.11] [Security Solutions] Update risk score tables to filter by timerange (#168826) (#169502)\n\n# Backport\r\n\r\nThis will backport the following commits from `main` to `8.11`:\r\n- [[Security Solutions] Update risk score tables to filter by timerange\r\n(#168826)](https://github.com/elastic/kibana/pull/168826)\r\n\r\n<!--- Backport version: 8.9.8 -->\r\n\r\n### Questions ?\r\nPlease refer to the [Backport tool\r\ndocumentation](https://github.com/sqren/backport)\r\n\r\n<!--BACKPORT [{\"author\":{\"name\":\"Pablo\r\nMachado\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2023-10-19T10:30:28Z\",\"message\":\"[Security\r\nSolutions] Update risk score tables to filter by timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com//issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n* Update Entity analytics dashboard to filter by\r\ntimerange and to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to filter by timerange and to display\\r\\ntimestamp field\\r\\n* Update\r\nHosts risk score tab to filter by timerange and to display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn users that risk tables din't\r\nfilter\\r\\nby timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\" alt=\\\"Screenshot\r\n2023-10-13 at 11 54\r\n19\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n38\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n53\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk score on top of\r\nthe user details page does NOT\\r\\nfilter by timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts, users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if the info tooltips about the timerange filter\r\nwere removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text added\r\nfollows [EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence case text and includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x] [Unit or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated or added to match the most common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\",\"branchLabelMapping\":{\"^v8.12.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:enhancement\",\"backport:skip\",\"Team:Threat\r\nHunting\",\"Team: SecuritySolution\",\"Theme:\r\nentity_analytics\",\"Feature:Entity\r\nAnalytics\",\"v8.12.0\"],\"number\":168826,\"url\":\"https://github.com/elastic/kibana/pull/168826\",\"mergeCommit\":{\"message\":\"[Security\r\nSolutions] Update risk score tables to filter by timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com//issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n* Update Entity analytics dashboard to filter by\r\ntimerange and to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to filter by timerange and to display\\r\\ntimestamp field\\r\\n* Update\r\nHosts risk score tab to filter by timerange and to display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn users that risk tables din't\r\nfilter\\r\\nby timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\" alt=\\\"Screenshot\r\n2023-10-13 at 11 54\r\n19\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n38\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n53\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk score on top of\r\nthe user details page does NOT\\r\\nfilter by timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts, users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if the info tooltips about the timerange filter\r\nwere removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text added\r\nfollows [EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence case text and includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x] [Unit or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated or added to match the most common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.12.0\",\"labelRegex\":\"^v8.12.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/168826\",\"number\":168826,\"mergeCommit\":{\"message\":\"[Security\r\nSolutions] Update risk score tables to filter by timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com//issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n* Update Entity analytics dashboard to filter by\r\ntimerange and to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to filter by timerange and to display\\r\\ntimestamp field\\r\\n* Update\r\nHosts risk score tab to filter by timerange and to display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn users that risk tables din't\r\nfilter\\r\\nby timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\" alt=\\\"Screenshot\r\n2023-10-13 at 11 54\r\n19\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n38\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\" alt=\\\"Screenshot 2023-10-13 at 11 54\r\n53\\\"\\r\\nsrc=\\\"https://github.com/elastic/kibana/assets/1490444/35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk score on top of\r\nthe user details page does NOT\\r\\nfilter by timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts, users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if the info tooltips about the timerange filter\r\nwere removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text added\r\nfollows [EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence case text and includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x] [Unit or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated or added to match the most common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\"}}]}]\r\nBACKPORT-->"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
issue: #162451
Summary
How to test
Checklist