API key gets created for disabled alerts (create API) #57036
Labels
Feature:Alerting
release_note:skip
Skip the PR/issue when compiling release notes
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
v7.7.0
It was caught here #56634 (comment) that API keys get created for disabled alerts when calling the create alert API with a
enabled: false
attribute.The following code shouldn't execute for disabled alerts:
kibana/x-pack/legacy/plugins/alerting/server/alerts_client.ts
Line 160 in 8aa2b61
The text was updated successfully, but these errors were encountered: