# README
Discord Webhook Plugin
Send attestations to Discord using webhooks.
How to use it
- 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]
- Attach the integration to your workflow.
chainloop integration attached add --workflow $WID --integration $IID
Registration Input Schema
Field | Type | Required | Description |
---|---|---|---|
username | string | no | Override the default username of the webhook |
webhook | string (uri) | yes | URL 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