-
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] Enable alert preview in document details flyout #186857
Conversation
efa0613
to
e08302d
Compare
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
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.
code looks good overall and desk testing went perfect!
I left a few comments, mainly waiting on some UI direction to make the decision
packages/kbn-expandable-flyout/src/components/preview_section.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/document_details/preview/footer.tsx
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/document_details/preview/footer.tsx
Show resolved
Hide resolved
.../security_solution/public/flyout/document_details/right/components/correlations_overview.tsx
Show resolved
Hide resolved
...gins/security_solution/public/flyout/document_details/right/components/entities_overview.tsx
Show resolved
Hide resolved
...ns/security_solution/public/flyout/document_details/right/components/prevalence_overview.tsx
Show resolved
Hide resolved
...ugins/security_solution/public/flyout/document_details/right/components/response_section.tsx
Outdated
Show resolved
Hide resolved
...ty_solution/public/flyout/document_details/right/components/threat_intelligence_overview.tsx
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/document_details/shared/context.tsx
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/shared/components/expandable_panel.tsx
Outdated
Show resolved
Hide resolved
e08302d
to
0d6b17a
Compare
x-pack/plugins/security_solution/public/flyout/shared/components/flyout_body.tsx
Outdated
Show resolved
Hide resolved
/ci |
824a1ef
to
b793fb6
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.
this is very close, I left a few minor comments
packages/kbn-expandable-flyout/src/components/preview_section.tsx
Outdated
Show resolved
Hide resolved
...olution/public/flyout/document_details/left/components/correlations_details_alerts_table.tsx
Outdated
Show resolved
Hide resolved
...olution/public/flyout/document_details/left/components/correlations_details_alerts_table.tsx
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/document_details/preview/footer.tsx
Outdated
Show resolved
Hide resolved
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 making all the changes and explaining for the others. This looks awesome!
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
## Summary This PR adds cypress test for the new preview panels that were recently added (#186857) ### 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
…ic#188117) ## Summary This PR adds cypress test for the new preview panels that were recently added (elastic#186857) ### 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 ff93b41)
…#188117) (#188570) # Backport This will backport the following commits from `main` to `8.15`: - [[Security Solution] Add cypress for expandable flyout previews (#188117)](#188117) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-07-17T17:27:37Z","message":"[Security Solution] Add cypress for expandable flyout previews (#188117)\n\n## Summary\r\n\r\nThis PR adds cypress test for the new preview panels that were recently\r\nadded (https://github.com/elastic/kibana/pull/186857)\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":"ff93b415a5e3738be0d64c3e03419d51e8afe621","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat Hunting","Team:Threat Hunting:Investigations","v8.15.0","v8.16.0"],"title":"[Security Solution] Add cypress for expandable flyout previews","number":188117,"url":"https://github.com/elastic/kibana/pull/188117","mergeCommit":{"message":"[Security Solution] Add cypress for expandable flyout previews (#188117)\n\n## Summary\r\n\r\nThis PR adds cypress test for the new preview panels that were recently\r\nadded (https://github.com/elastic/kibana/pull/186857)\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":"ff93b415a5e3738be0d64c3e03419d51e8afe621"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188117","number":188117,"mergeCommit":{"message":"[Security Solution] Add cypress for expandable flyout previews (#188117)\n\n## Summary\r\n\r\nThis PR adds cypress test for the new preview panels that were recently\r\nadded (https://github.com/elastic/kibana/pull/186857)\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":"ff93b415a5e3738be0d64c3e03419d51e8afe621"}}]}] BACKPORT--> Co-authored-by: christineweng <[email protected]>
Summary
This PR enables alert preview in the document flyout.
How to test:
entityAlertPreviewEnabled
Screen.Recording.2024-06-25.at.8.49.13.PM.mov
Checklist