[alerting] allow connector/rule types to provide hooks/feedback during create/update/delete calls #106724
Labels
discuss
estimate:needs-research
Estimated as too large and requires research to break down into workable issues
Feature:Actions/ConnectorsManagement
Issues related to Connectors Management UX
Feature:Actions/Framework
Issues related to the Actions Framework
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Feature:Alerting
insight
Issues related to user insight into platform operations and resilience
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Currently, alerting connector types are only invoked to execute the connector. We've had some scenarios where it would be useful to allow connectors to provide some feedback during create. Specifically, to do some checking against 3rd party services (Swimlane and ServiceNow), and be able to "veto" the creation. Think of it as an additional validation, that's done at the time of the create, given the connector parameters.
One way to view this is just as an additional type of validation, where the connector type could register to have this additional validation run on the create. Another way to think about it is a general "hook" mechanism, where the connector type can be invoked on interesting calls (create/update/delete), and "provide feedback", where one form of that feedback would be to not allow the creation, and presumably provide an error message.
The "additional validation" approach is likely easier, but also less flexible, if we find we need to do other "interesting" things later.
This is also possibly something we'd want for rules, as well as connectors.
The text was updated successfully, but these errors were encountered: