-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Detection Engine] Update alert apiKey when the rule is updated #67364
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
[Detection Engine] Update alert apiKey when the rule is updated #67364
Conversation
|
Pinging @elastic/siem (Team:SIEM) |
|
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
|
@elasticmachine merge upstream |
…kkopycinski/kibana into fix/siem-rule-action-apikey-update
…-action-apikey-update
rylnd
left a comment
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.
Desk-tested the following scenarios:
- Creating rules with actions (POST)
- Removing a rule's actions (PUT)
- as outlined in the original bug report
- Adding an action to a previously de-actioned rule (PUT)
- Partial update of a rule via the API (PATCH)
All of the above work as expected and have no impact on a rule's execution (nor its actions').
Thanks @patrykkopycinski !
|
@elasticmachine merge upstream |
mikecote
left a comment
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 LGTM!
x-pack/plugins/siem/server/lib/detection_engine/rules/update_rules_notifications.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…tic#67364) # Conflicts: # x-pack/plugins/siem/server/lib/detection_engine/rules/update_rules_notifications.ts
…) (#67426) # Conflicts: # x-pack/plugins/siem/server/lib/detection_engine/rules/update_rules_notifications.ts Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…) (#67425) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…) (#67424) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
Summary
Fixes #64870