Skip to content

Commit

Permalink
Fix data source docs (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lootag authored Aug 20, 2024
1 parent e4d71b1 commit d0f2e85
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/data-sources/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,6 +17,8 @@ data "coralogix_webhook" "imported_webhook" {
}
```



<!-- schema generated by tfplugindocs -->
## Schema

Expand All @@ -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))
Expand All @@ -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.
Expand Down Expand Up @@ -97,7 +99,7 @@ Read-Only:

Read-Only:

- `url` (String) Microsoft Teams URL.
- `url` (String) Microsoft Teams Workflow URL.


<a id="nestedatt--opsgenie"></a>
Expand Down Expand Up @@ -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.

<a id="nestedatt--slack--attachments"></a>
Expand Down

0 comments on commit d0f2e85

Please sign in to comment.