-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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][Exceptions] - Moves ExceptionItem component to lists plugin #95246
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
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.
Already left a review on the builder pr but this also looks good on all the manual testing i did with it 👍
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @yctercero |
…sts plugin (elastic#95246) ## Summary Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way. The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `BuilderExceptionItem` which deals with rendering the individual exception items.
… to lists plugin (#95246) (#95608) * [Security Solution][Exceptions] - Moves ExceptionItem component to lists plugin (#95246) ## Summary Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way. The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `BuilderExceptionItem` which deals with rendering the individual exception items. * updating snapshot Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.
The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the
BuilderExceptionItem
which deals with rendering the individual exception items.Quick Summary:
x-pack/plugins/security_solution/public/common/components/exceptions/builder/exception_item.tsx
→x-pack/plugins/lists/public/exceptions/components/builder/exception_item_renderer.tsx
BuilderExceptionItem
from lists pluginx-pack/plugins/security_solution/public/common/components/and_or_badge/
tox-pack/plugins/lists/public/exceptions/components/and_or_badge/
Entry Item (PR)
Exception Item (THIS PR DEALS WITH 👇🏽)
Builder Buttons
Exception Item Comments
Builder Modal
Notes
Testing
Prior to making these changes, added a number of tests to ensure coverage of existing functionality. For manual testing, please checkout PR and play around with the following:
match
,match_any
,nested
etc.Checklist