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: website/docs/d/monitor_notification_channel_slack.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,10 @@ data "sysdig_monitor_notification_channel_slack" "nc_slack" {
29
29
In addition to all arguments above, the following attributes are exported:
30
30
31
31
*`id` - The Notification Channel ID.
32
-
*`name` - The Notification Channel Name.
33
-
*`url` - URL of the Slack.
34
-
*`channel` - Channel name from this Slack.
35
-
*`is_private_channel` - Whether the Slack channel is private or not.
36
-
*`private_channel_url` - The channel URL,
32
+
*`url` - URL of the Slack webhook.
33
+
*`channel` - Name of the Slack channel.
34
+
*`private_channel` - Whether the Slack Channel has been marked as private or not.
35
+
*`private_channel_url` - The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url), if the channel is private.
37
36
*`show_section_runbook_links` - Whether to include the runbook links section in the Slack messages.
38
37
*`show_section_event_details` - Whether to include the event details section in the Slack messages.
39
38
*`show_section_user_defined_content` - Whether to include the user defined section in the Slack messages.
@@ -43,7 +42,6 @@ In addition to all arguments above, the following attributes are exported:
43
42
*`show_section_capturing_information` - Whether to include the capturing information section in the Slack messages.
44
43
*`enabled` - Whether the Notification Channel is active or not.
45
44
*`notify_when_ok` - Whether the Notification Channel sends a notification when the condition is no longer triggered.
46
-
*`notify_when_resolved` - Whether the Notification Channel sends a notification if it's manually acknowledged by a
47
-
user.
45
+
*`notify_when_resolved` - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
48
46
*`version` - The version of the Notification Channel.
49
47
*`send_test_notification` - Whether the Notification Channel has enabled the test notification.
Copy file name to clipboardExpand all lines: website/docs/d/secure_notification_channel_slack.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,13 @@ data "sysdig_secure_notification_channel_slack" "nc_slack" {
29
29
In addition to all arguments above, the following attributes are exported:
30
30
31
31
*`id` - The Notification Channel ID.
32
-
*`name` - The Notification Channel Name.
33
-
*`url` - URL of the Slack.
34
-
*`channel` - Channel name from this Slack.*`template_version` - The notification template version to use to create notifications.
35
-
*`is_private_channel` - Whether the Slack channel is private or not.
36
-
*`private_channel_url` - The channel URL,
32
+
*`url` - URL of the Slack webhook.
33
+
*`channel` - Name of the Slack channel.
34
+
*`private_channel` - Whether the Slack Channel has been marked as private or not.
35
+
*`private_channel_url` - The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url), if the channel is private.
36
+
*`template_version` - The notification template version to use to create notifications.
37
37
*`enabled` - Whether the Notification Channel is active or not.
38
38
*`notify_when_ok` - Whether the Notification Channel sends a notification when the condition is no longer triggered.
39
-
*`notify_when_resolved` - Whether the Notification Channel sends a notification if it's manually acknowledged by a
40
-
user.
39
+
*`notify_when_resolved` - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
41
40
*`version` - The version of the Notification Channel.
42
41
*`send_test_notification` - Whether the Notification Channel has enabled the test notification.
*`show_section_capturing_information` - (Optional) Whether to include the capturing information section in the Slack messages. Default: true.
48
48
49
-
*`channel` - (Required) Channel name from this Slack.
49
+
*`channel` - (Required) Name of the Slack channel. **NOTE**: If the channel is private this field cannot be changed after creation.
50
+
51
+
*`private_channel` - (Optional, Forces new resource) If true, the Slack channel name will be visible only to the user that created this notification channel. Default: false.
52
+
53
+
*`private_channel_url` - (Optional, Forces new resource) The channel URL, i.e. the link that is referencing the channel (not to be confused with the webhook url). Can be set only if the channel is private.
50
54
51
55
*`is_private_channel` - (Optional) Whether the Slack channel is private or not.
0 commit comments