-
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][Endpoint] Add Event Filters api validations get
, find
, delete
, export
, summary
and import
#124071
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
…vent-filters-validations-get-find-delete-export-summary # Conflicts: # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_delete_item_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_export_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_get_one_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_multi_list_find_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_single_list_find_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_summary_handler.ts
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.
NIce! 🚢 it
return data; | ||
} | ||
|
||
// Event Filter validation | ||
if (EventFilterValidator.isEventFilter({ listId })) { | ||
await new EventFilterValidator(endpointAppContext, request).validatePreDeleteItem(); | ||
return data; |
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.
Nice! I added this change to some of the validators in my PR as well as you suggested.
@@ -5,7 +5,7 @@ | |||
* 2.0. |
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've renamed this file to event_filters.ts
and also moved host isolation tests to endpoint_artifacts/host_isolation_exceptions.ts
…vent-filters-validations-get-find-delete-export-summary # Conflicts: # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_delete_item_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_get_one_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_multi_list_find_handler.ts # x-pack/plugins/security_solution/server/lists_integration/endpoint/handlers/exceptions_pre_single_list_find_handler.ts # x-pack/test/security_solution_endpoint_api_int/apis/endpoint_artifacts/event_filters.ts
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Summary
get
,find
,delete
,export
,summary
andimport
Lists APIs for Endpoint Event FiltersChecklist