Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 984 Bytes

File metadata and controls

42 lines (33 loc) · 984 Bytes

Slack Webhook Plugin

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

Field Type Required Description
webhook string (uri) yes URL 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"
  ]
}