From d0f2e854bfacd3f3d8dfe14453be4b7cfb4b72fd Mon Sep 17 00:00:00 2001 From: lootag <51933845+lootag@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:54:57 +0100 Subject: [PATCH] Fix data source docs (#259) --- docs/data-sources/webhook.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/data-sources/webhook.md b/docs/data-sources/webhook.md index dde2e47b..60122d9b 100644 --- a/docs/data-sources/webhook.md +++ b/docs/data-sources/webhook.md @@ -6,9 +6,9 @@ description: "Coralogix webhook. For more info please review - https://coralogix --- # coralogix_webhook (Data Source) - Coralogix webhook. For more info please review - https://coralogix.com/docs/alert-webhook-with-slack/. + ## Example Usage ```hcl @@ -17,6 +17,8 @@ data "coralogix_webhook" "imported_webhook" { } ``` + + ## Schema @@ -32,7 +34,7 @@ data "coralogix_webhook" "imported_webhook" { - `event_bridge` (Attributes) (see [below for nested schema](#nestedatt--event_bridge)) - `external_id` (String) Webhook external ID. Using to linq webhook to alert. - `jira` (Attributes) Jira webhook. (see [below for nested schema](#nestedatt--jira)) -- `microsoft_teams` (Attributes) Microsoft Teams webhook. (see [below for nested schema](#nestedatt--microsoft_teams)) +- `microsoft_teams` (Attributes) Microsoft Teams Workflow webhook. (see [below for nested schema](#nestedatt--microsoft_teams)) - `name` (String) Webhook name. - `opsgenie` (Attributes) Opsgenie webhook. (see [below for nested schema](#nestedatt--opsgenie)) - `pager_duty` (Attributes) PagerDuty webhook. (see [below for nested schema](#nestedatt--pager_duty)) @@ -45,7 +47,7 @@ data "coralogix_webhook" "imported_webhook" { Read-Only: - `headers` (Map of String) Webhook headers. Map of string to string. -- `method` (String) Webhook method. can be one of: put, get, post +- `method` (String) Webhook method. can be one of: get, post, put - `payload` (String) Webhook payload. JSON string. - `url` (String) Webhook URL. - `uuid` (String) Webhook UUID. Computed automatically. @@ -97,7 +99,7 @@ Read-Only: Read-Only: -- `url` (String) Microsoft Teams URL. +- `url` (String) Microsoft Teams Workflow URL. @@ -132,7 +134,7 @@ Read-Only: Read-Only: - `attachments` (Attributes List) Slack attachments. (see [below for nested schema](#nestedatt--slack--attachments)) -- `notify_on` (Set of String) Slack notifications. can be one of: error_and_critical_logs, flow_anomalies, spike_anomalies, data_usage +- `notify_on` (Set of String) Slack notifications. can be one of: spike_anomalies, data_usage, error_and_critical_logs, flow_anomalies - `url` (String) Slack URL.