-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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] Move exceptions builder to lists plugin #94002
[Security Solution] Move exceptions builder to lists plugin #94002
Conversation
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@elasticmachine merge upstream |
@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: |
@@ -16,7 +16,7 @@ import { | |||
CreateExceptionListItemSchema, | |||
} from '../../../lists/common/schemas'; | |||
import { ESBoolQuery } from '../typed_json'; | |||
import { buildExceptionFilter } from './build_exceptions_filter'; | |||
import { buildExceptionFilter } from '../shared_imports'; |
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 wonder if we should make more things available through the plugin so for example here we'd use the lists
client and do something like lists.queryBuilder
. Just a thought, nothing to do in this PR.
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.
LGTM - pulled down and tested basic exceptions functionality works ✅
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
This PR moves exception builder logic for non-value list exceptions to the lists plugin. There should be no changes to functionality in this PR. The purpose is to allow other plugins to use exceptions logic without depending on the security_solution plugin.
Next steps:
For maintainers