[Alerting] Rules should handle actions where connectors have isMissingSecrets: true
#94128
Labels
Feature:Actions
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
In order to support import/export of connectors, we will be adding the ability to disable connectors after import and we need to ensure that rules can handle actions using disabled connectors.
1. Rules shouldn't schedule actions if connector is disabled
Rules already check whether an action is executable before scheduling actions using the
isActionExecutable
fn. Currently that only checks whether the action is preconfigured or whether the action type is disabled. This fn would need to be updated to also check whether the connector referenced by the action is hasisMissingSecrets
set totrue
.2. Create/edit rule flyout should handle disabled connectors
If an action is using a broken connector (
isMissingSecrets: true
) or user selects a broken connector for an action, there should be some sort of indicator that the connector is broken. I'm not sure if there should be a link to the connector page to enable the connector since clicking it would navigate the user away from the rule flyout and they'd lose what changes they have made.The text was updated successfully, but these errors were encountered: