Generic Webhook

circle-info

This capability is only available to BYOC deployments. Check out our pricing pagearrow-up-right for more information about subscription plans and the available deployment modes.

Configuring Webhook Integration in groundcover

  1. In groundcover, Go to Settings → Connected Apps.

  2. Click on Webhook Integration

  3. Fill in a Webhook name

  4. Fill Webhook details

    1. Select an HTTP method: GET / POST / PUT / DELETE

    2. Enter your URL

    3. Optional: Add Authentication headers, you can either add basic auth user and password, or an API Key. (Can't do both)

    4. Optional: Add custom headers, by adding key and value pairs

    5. Optional: Add a custom payload

      1. Note that the payload should be a JSON format, but can be used with Jinja2 formatting in order to render different payloads for different if/else conditions, see example below.

  1. Optional: Test the connection-

    1. This will send a notification similar to the notification that will be send by monitors with [TEST] Notification from groundcover in the title to differentiate from 'real' notifications.

  2. Save.

Webhook Custom Payload Examples

Concatenating multiple variables into a single string

For an issue with 'cluster:prod' and 'workload:sensor', the above will be translated into: "channel_name": "prod - sensor"

Using if/else conditions for custom payloads:

Use jinja2 formatting in order to define the conditions to meet and the content to send

Or alternatively just use the conditions for part of the json:

Last updated