Skip to content
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

[7.8] [SIEM][Detections] Allow synchronous rule actions to be updated via PATCH (#67914) #67990

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

rylnd
Copy link
Contributor

@rylnd rylnd commented Jun 2, 2020

Backports the following commits to 7.8:

…ATCH (elastic#67914)

* Update synchronous actions in patchRules

This method was typed to accept actions, but it was not doing anything
with them. This was mainly a "bug by omission" so I'm simply adding
unit tests for regression purposes.

* Allow synchronous actions to be patched either individually or in bulk

Now that patchRules uses this field, we simply need to pass it.

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/siem/server/lib/detection_engine/rules/patch_rules.ts
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rylnd rylnd merged commit bc04493 into elastic:7.8 Jun 2, 2020
@rylnd rylnd deleted the backport/7.8/pr-67914 branch June 2, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants