Context:
In order to allow sending alert notifications to custom systems, we need to enable users to configure webhooks that they might want to send alerts to. This should be done in the config, where all important properties of the webhook will be kept, along with a human readable name for display in the UI. The names of webhooks need to be unique so users can differentiate them in the UI and we know from the name which webhook to send alerts to.
For more context, see parent ticket.
AT:
- Users can configure webhooks with the following properties:
- name (unique)
- url with query params
- headers
- http method
- payload structure with a placeholder for the alert text
- A validation step to check that the payload structure contains the placeholder
- A validation step is added to the config validation which ensures that the webhook names are unique
- The new configuration fields are documented
This is the controller panel for Smart Panels app
- is depended on by
-
OPT-3237 Communicate missing webhook configs in UI
- Done