package
0.97.3
Repository: https://github.com/chainloop-dev/chainloop.git
Documentation: pkg.go.dev

# README

Discord Webhook Plugin

Send attestations to Discord using webhooks.

How to use it

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

optionally you can specify a custom username

$ chainloop integration registered add discord-webhook --name [my-registration] --opt webhook=[webhookURL] --opt username=[username]
  1. Attach the integration to your workflow.
chainloop integration attached add --workflow $WID --integration $IID

Registration Input Schema

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

# Packages

No description provided by the author

# Functions

No description provided by the author

# Structs

No description provided by the author