-
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 Solution] expandable flyout - add isolate host panel #165933
[Security Solution] expandable flyout - add isolate host panel #165933
Conversation
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.
Thanks for the changes @PhilippeOberti. I tested it out manually and works as expected! 🚢 it!
9f3c86c
to
9ae3540
Compare
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
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.
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ic#165933) ## Summary This new expandable flyout is going GA in `8.10`. One feature isn't working: the `isolate host` from the `take action` button in the right section footer. The code was added in this [PR](elastic#153903) but isolate host testing must have been overlooked. This PR adds the functionality to the new expandable flyout, by creating a new panel, displayed similarly to the right panel is today. https://github.com/elastic/kibana/assets/17276605/abd99323-616b-4474-a21c-29ce3c56dd1a elastic#165933 ### TODO - [ ] verify logic - [ ] add unit tests - [ ] add Cypress tests ### Checklist Delete any items that are not applicable to this PR. - [ ] 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) - [ ] [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 --------- Co-authored-by: Ashokaditya <ashokaditya@elastic.co> (cherry picked from commit ed48990)
…#165933) (#165984) # Backport This will backport the following commits from `main` to `8.10`: - [[Security Solution] expandable flyout - add isolate host panel (#165933)](#165933) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-09-07T14:49:10Z","message":"[Security Solution] expandable flyout - add isolate host panel (#165933)\n\n## Summary\r\n\r\nThis new expandable flyout is going GA in `8.10`. One feature isn't\r\nworking: the `isolate host` from the `take action` button in the right\r\nsection footer. The code was added in this\r\n[PR](#153903) but isolate host\r\ntesting must have been overlooked.\r\n\r\nThis PR adds the functionality to the new expandable flyout, by creating\r\na new panel, displayed similarly to the right panel is today.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17276605/abd99323-616b-4474-a21c-29ce3c56dd1a\r\n\r\nhttps://github.com//pull/165933\r\n\r\n### TODO\r\n\r\n- [ ] verify logic\r\n- [ ] add unit tests\r\n- [ ] add Cypress tests\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [ ] 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- [ ] [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\r\n\r\n---------\r\n\r\nCo-authored-by: Ashokaditya <ashokaditya@elastic.co>","sha":"ed48990395c639a49370a829345d22d89f24522f","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat Hunting:Investigations","v8.10.0","v8.11.0"],"number":165933,"url":"https://github.com/elastic/kibana/pull/165933","mergeCommit":{"message":"[Security Solution] expandable flyout - add isolate host panel (#165933)\n\n## Summary\r\n\r\nThis new expandable flyout is going GA in `8.10`. One feature isn't\r\nworking: the `isolate host` from the `take action` button in the right\r\nsection footer. The code was added in this\r\n[PR](#153903) but isolate host\r\ntesting must have been overlooked.\r\n\r\nThis PR adds the functionality to the new expandable flyout, by creating\r\na new panel, displayed similarly to the right panel is today.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17276605/abd99323-616b-4474-a21c-29ce3c56dd1a\r\n\r\nhttps://github.com//pull/165933\r\n\r\n### TODO\r\n\r\n- [ ] verify logic\r\n- [ ] add unit tests\r\n- [ ] add Cypress tests\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [ ] 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- [ ] [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\r\n\r\n---------\r\n\r\nCo-authored-by: Ashokaditya <ashokaditya@elastic.co>","sha":"ed48990395c639a49370a829345d22d89f24522f"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165933","number":165933,"mergeCommit":{"message":"[Security Solution] expandable flyout - add isolate host panel (#165933)\n\n## Summary\r\n\r\nThis new expandable flyout is going GA in `8.10`. One feature isn't\r\nworking: the `isolate host` from the `take action` button in the right\r\nsection footer. The code was added in this\r\n[PR](#153903) but isolate host\r\ntesting must have been overlooked.\r\n\r\nThis PR adds the functionality to the new expandable flyout, by creating\r\na new panel, displayed similarly to the right panel is today.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17276605/abd99323-616b-4474-a21c-29ce3c56dd1a\r\n\r\nhttps://github.com//pull/165933\r\n\r\n### TODO\r\n\r\n- [ ] verify logic\r\n- [ ] add unit tests\r\n- [ ] add Cypress tests\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [ ] 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- [ ] [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\r\n\r\n---------\r\n\r\nCo-authored-by: Ashokaditya <ashokaditya@elastic.co>","sha":"ed48990395c639a49370a829345d22d89f24522f"}}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
Summary
This new expandable flyout is going GA in
8.10
. One feature isn't working: theisolate host
/'release hostfrom the
take action` button in the right section footer. The code was added in this PR but isolate host testing must have been overlooked.This PR adds the functionality to the new expandable flyout, by creating a new panel, displayed similarly to the right panel is today.
Screen.Recording.2023-09-07.at.9.58.27.AM.mov
#165933
How to test manually
node x-pack/plugins/security_solution/scripts/endpoint/endpoint_agent_emulator.js --asSuperuser
and load fake endpoints./app/security/alerts
. If alerts are not visible, click onManage Rules
and toggleEndpoint Security
and visit Alerts page again. You should see alerts from the fake agents.View details
action item underActions
column to show the details flyout.Take action
button on the flyout footer and then click onIsolate host
(if the host is not isolated) orRelease host
(if the host is isolated). This should show the corresponding isolate/releae flyout where you should be able to add a comment and submit the action.TODO
Checklist
Delete any items that are not applicable to this PR.