From 50e24d66341fb2e281500b1c8cee0e5842b4e785 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Tue, 22 Apr 2025 22:19:28 +0200 Subject: [PATCH] docs(alerting): clarify that webhook extra headers can override the Content-Type header (#104324) --- .../integrations/webhook-notifier.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md b/docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md index 1730fca9bb5..726b9d9cef5 100644 --- a/docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md +++ b/docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md @@ -68,17 +68,17 @@ For more details on contact points, including how to test them and enable notifi #### Optional settings -| Option | Description | -| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| HTTP Method | Specifies the HTTP method to use: `POST` or `PUT`. | -| Basic Authentication Username | Username for HTTP Basic Authentication. | -| Basic Authentication Password | Password for HTTP Basic Authentication. | -| Authentication Header Scheme | Scheme for the `Authorization` Request Header. Default is `Bearer`. | -| Authentication Header Credentials | Credentials for the `Authorization` Request header. | -| Extra Headers | Additional HTTP headers to include in the request. | -| Max Alerts | Maximum number of alerts to include in a notification. Any alerts exceeding this limit are ignored. `0` means no limit. | -| TLS | TLS configuration options, including CA certificate, client certificate, and client key. | -| HMAC Signature | HMAC signature configuration options. | +| Option | Description | +| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| HTTP Method | Specifies the HTTP method to use: `POST` or `PUT`. | +| Basic Authentication Username | Username for HTTP Basic Authentication. | +| Basic Authentication Password | Password for HTTP Basic Authentication. | +| Authentication Header Scheme | Scheme for the `Authorization` Request Header. Default is `Bearer`. | +| Authentication Header Credentials | Credentials for the `Authorization` Request header. | +| Extra Headers | Additional HTTP headers to include in the request. You can also override the default `Content-Type: application/json` header to specify a different content type for the request payload. | +| Max Alerts | Maximum number of alerts to include in a notification. Any alerts exceeding this limit are ignored. `0` means no limit. | +| TLS | TLS configuration options, including CA certificate, client certificate, and client key. | +| HMAC Signature | HMAC signature configuration options. | {{< admonition type="note" >}}