eventd-webhook.conf(5)

webhook plugin configuration

Build version: 0.30.0 - v0.30.0

Name

eventd-webhook.conf — webhook plugin configuration

Synopsis

Configuration for the webhook plugin.

Description

The webhook plugin allows to send payloads to webhook handlers.

Payloads are sent as a POST request with "application/json" as Content-Type.

Global sections

Section [WebHook]

NoUserAgent=

A bool

If true, no User-Agent header is sent.

Action sections

Section [WebHook]

Disable=

A boolean

If true, nothing will be sent.

URL=

A format string of a Web URL

The URL to send the payload to.

Sending is done asynchronously.

Template=

A file name, containing a format string

The file name is not a file URI, no data references may be used here.

The whole file content is taken as a format string.

If Template= is given, String= is ignored.

String=

A format string

The string to send as payload.

ContentType= (defaults to application/json)

A string

The Content-Type of the payload.

Method=

An enumeration of an HTTP method name: POST, PUT, GET

The HTTP method that will be used to query.

Sending is done asynchronously.

Section [WebHook Headers]

Each key-value pair in this section will be used as-is to populate the request headers.

See Also

eventd core man pages
eventd(1)

eventd daemon command-line options

eventdctl(1)

eventdctl (control tool) command-line options

eventd.conf(5)

eventd configuration

Contains information about all the event configuration

Plugins distributed with eventd will use the same scheme: eventd-plugin-name for their additional eventd command-line options, eventdctl-plugin-name for their additional eventdctl command-line options, eventd-plugin-name.conf for their configuration,

Plugins man pages