Skip to content

Github Webhook input plugin missing "secret" field #18922

Closed

Description

@Cocossoul

Relevant telegraf.conf

[inputs.webhooks.github]
  path = "/github"
  secret = "${GITHUB_WEBHOOK_SECRET}"

Logs from Telegraf

2026-05-18T11:25:49Z I! Loading config: /etc/telegraf/telegraf.conf
2026-05-18T11:25:49Z E! loading config file /etc/telegraf/telegraf.conf failed: plugin inputs.webhooks: line 5: configuration specified the fields ["secret"], but they were not used; this is either a typo or this config option does not exist in this version

System info

Telegraf v1.38.4

Docker

No response

Steps to reproduce

  1. Configure a secret for Github Webhook input
  2. Run Telegraf with version >= 1.34.0

Expected behavior

The app should run, and only accept webhooks with the configured secret as documented: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/webhooks

Actual behavior

The app crashes at startup

Additional info

No response

Activity

  1. added
    bug
    on May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions