Skip to content

Commit ac933f0

Browse files
[Detection Engine] Update alert apiKey when the rule is updated (#67364) (#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>
1 parent ce5bdb5 commit ac933f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/legacy/plugins/siem/server/lib/detection_engine/rules/update_rules_notifications.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,8 @@ export const updateRulesNotifications = async ({
4545
interval: ruleActions.alertThrottle,
4646
});
4747

48+
// TODO: Workaround for https://github.com/elastic/kibana/issues/67290
49+
await alertsClient.updateApiKey({ id: ruleAlertId });
50+
4851
return ruleActions;
4952
};

0 commit comments

Comments
 (0)