Slack Webhook Plugin

April 1, 2024 ยท View on GitHub

Send attestations to Slack using webhooks.

How to use it

  1. To get started, you need to register the plugin in your Chainloop organization.
$ chainloop integration registered add slack-webhook --name [my-registration] --opt webhook=[webhookURL]
  1. Attach the integration to your workflow.
chainloop integration attached add --workflow $WID --integration $IID

Registration Input Schema

FieldTypeRequiredDescription
webhookstring (uri)yesURL of the slack webhook
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/chainloop-dev/chainloop/app/controlplane/plugins/core/slack-webhook/v1/registration-request",
  "properties": {
    "webhook": {
      "type": "string",
      "format": "uri",
      "description": "URL of the slack webhook"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "webhook"
  ]
}