You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/contact_point.md
+76Lines changed: 76 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -523,9 +523,13 @@ Optional:
523
523
-`basic_auth_password` (String, Sensitive) The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
524
524
-`basic_auth_user` (String) The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
525
525
-`disable_resolve_message` (Boolean) Whether to disable sending resolve messages. Defaults to `false`.
526
+
-`headers` (Map of String) Custom headers to attach to the request.
527
+
-`hmac_config` (Block Set, Max: 1) HMAC signature configuration options. (see [below for nested schema](#nestedblock--webhook--hmac_config))
528
+
-`http_config` (Block Set, Max: 1) Common HTTP client options. (see [below for nested schema](#nestedblock--webhook--http_config))
526
529
-`http_method` (String) The HTTP method to use in the request. Defaults to `POST`.
527
530
-`max_alerts` (Number) The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.
528
531
-`message` (String) Custom message. You can use template variables.
532
+
-`payload` (Block Set, Max: 1) Optionally provide a templated payload. Overrides 'Message' and 'Title' field. (see [below for nested schema](#nestedblock--webhook--payload))
529
533
-`settings` (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to `map[]`.
530
534
-`title` (String) Templated title of the message.
531
535
-`tls_config` (Map of String, Sensitive) Allows configuring TLS for the webhook notifier.
@@ -534,6 +538,78 @@ Read-Only:
534
538
535
539
-`uid` (String) The UID of the contact point.
536
540
541
+
<aid="nestedblock--webhook--hmac_config"></a>
542
+
### Nested Schema for `webhook.hmac_config`
543
+
544
+
Required:
545
+
546
+
-`secret` (String, Sensitive) The secret key used to generate the HMAC signature.
547
+
548
+
Optional:
549
+
550
+
-`header` (String) The header in which the HMAC signature will be included. Defaults to `X-Grafana-Alerting-Signature`.
551
+
-`timestamp_header` (String) If set, the timestamp will be included in the HMAC signature. The value should be the name of the header to use.
552
+
553
+
554
+
<aid="nestedblock--webhook--http_config"></a>
555
+
### Nested Schema for `webhook.http_config`
556
+
557
+
Optional:
558
+
559
+
-`oauth2` (Block Set, Max: 1) OAuth2 configuration options. (see [below for nested schema](#nestedblock--webhook--http_config--oauth2))
### Nested Schema for `webhook.http_config.oauth2.tls_config`
590
+
591
+
Optional:
592
+
593
+
-`ca_certificate` (String, Sensitive) Certificate in PEM format to use when verifying the server's certificate chain.
594
+
-`client_certificate` (String, Sensitive) Client certificate in PEM format to use when connecting to the server.
595
+
-`client_key` (String, Sensitive) Client key in PEM format to use when connecting to the server.
596
+
-`insecure_skip_verify` (Boolean) Do not verify the server's certificate chain and host name. Defaults to `false`.
597
+
598
+
599
+
600
+
601
+
<aid="nestedblock--webhook--payload"></a>
602
+
### Nested Schema for `webhook.payload`
603
+
604
+
Required:
605
+
606
+
-`template` (String) Custom payload template.
607
+
608
+
Optional:
609
+
610
+
-`vars` (Map of String) Optionally provide a variables to be used in the payload template. They will be available in the template as `.Vars.<variable_name>`.
0 commit comments