{
  "name": "webhook-post",
  "title": "POST JSON to a webhook",
  "description": "POST a JSON payload to an arbitrary webhook URL, with an optional Authorization header read from a Kubernetes Secret.",
  "category": "HTTP",
  "tags": [
    "curl",
    "http"
  ],
  "latestVersion": "1.0.1",
  "versions": [
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "json-body",
    "url",
    "auth-secret-key",
    "auth-secret-name"
  ],
  "images": [
    "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/webhook-post.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/webhook-post/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/webhook-post/",
  "entrypoint": "post",
  "parameterDetails": [
    {
      "name": "json-body",
      "title": "JSON body",
      "description": "The raw JSON payload to send as the request body.",
      "type": "string",
      "required": true,
      "example": "{\"event\":\"deploy\",\"status\":\"ok\"}"
    },
    {
      "name": "url",
      "title": "Webhook URL",
      "description": "Absolute webhook URL to POST the JSON payload to.",
      "type": "string",
      "required": true,
      "example": "https://hooks.example.com/services/T000/B000/XXXX"
    },
    {
      "name": "auth-secret-key",
      "title": "Auth secret key",
      "description": "Key within the Secret that holds the Authorization header value.",
      "type": "string",
      "required": false,
      "default": "authorization"
    },
    {
      "name": "auth-secret-name",
      "title": "Auth secret name",
      "description": "Name of the Kubernetes Secret holding an optional Authorization header value (e.g. \"Bearer abc123\"). If the Secret is absent the header is omitted.",
      "type": "string",
      "required": false,
      "default": "webhook-auth"
    }
  ],
  "imageDetails": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "tag": "8.23.0",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Move curlimages/curl from 8.11.1 to 8.21.0. Fixable CRITICAL/HIGH drops from 26 to 1.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/webhook-post/1.0.1.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/webhook-post/1.0.1/template.yaml"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-17",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/webhook-post/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/webhook-post",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
