diff --git a/sysdig/data_source_sysdig_monitor_notification_channel_msteams_test.go b/sysdig/data_source_sysdig_monitor_notification_channel_msteams_test.go index 3a016836f..c14a26f98 100644 --- a/sysdig/data_source_sysdig_monitor_notification_channel_msteams_test.go +++ b/sysdig/data_source_sysdig_monitor_notification_channel_msteams_test.go @@ -40,7 +40,7 @@ func monitorNotificationChannelMSTeams(name string) string { return fmt.Sprintf(` resource "sysdig_monitor_notification_channel_msteams" "nc_msteams" { name = "%s" - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" } data "sysdig_monitor_notification_channel_msteams" "nc_msteams" { diff --git a/sysdig/data_source_sysdig_monitor_notification_channel_slack_test.go b/sysdig/data_source_sysdig_monitor_notification_channel_slack_test.go index 3d4d30337..7d1d131cb 100644 --- a/sysdig/data_source_sysdig_monitor_notification_channel_slack_test.go +++ b/sysdig/data_source_sysdig_monitor_notification_channel_slack_test.go @@ -47,7 +47,7 @@ func monitorNotificationChannelSlack(name string) string { return fmt.Sprintf(` resource "sysdig_monitor_notification_channel_slack" "nc_slack" { name = "%s" - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" show_section_runbook_links = false show_section_event_details = false diff --git a/sysdig/data_source_sysdig_secure_notification_channel_msteams_test.go b/sysdig/data_source_sysdig_secure_notification_channel_msteams_test.go index 9f75f2a50..1dfb9b8e7 100644 --- a/sysdig/data_source_sysdig_secure_notification_channel_msteams_test.go +++ b/sysdig/data_source_sysdig_secure_notification_channel_msteams_test.go @@ -41,7 +41,7 @@ func secureNotificationChannelMSTeams(name string) string { return fmt.Sprintf(` resource "sysdig_secure_notification_channel_msteams" "nc_msteams" { name = "%s" - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" template_version = "v2" } diff --git a/sysdig/data_source_sysdig_secure_notification_channel_slack_test.go b/sysdig/data_source_sysdig_secure_notification_channel_slack_test.go index 7e7cfa1f4..72a6d2aa2 100644 --- a/sysdig/data_source_sysdig_secure_notification_channel_slack_test.go +++ b/sysdig/data_source_sysdig_secure_notification_channel_slack_test.go @@ -42,7 +42,7 @@ func secureNotificationChannelSlack(name string) string { return fmt.Sprintf(` resource "sysdig_secure_notification_channel_slack" "nc_slack" { name = "%s" - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" template_version = "v2" } diff --git a/sysdig/resource_sysdig_monitor_notification_channel_msteams_test.go b/sysdig/resource_sysdig_monitor_notification_channel_msteams_test.go index 5e25ac5ab..e1d478e2e 100644 --- a/sysdig/resource_sysdig_monitor_notification_channel_msteams_test.go +++ b/sysdig/resource_sysdig_monitor_notification_channel_msteams_test.go @@ -49,7 +49,7 @@ func monitorNotificationChannelMSTeamsWithName(name string) string { resource "sysdig_monitor_notification_channel_msteams" "sample-msteams1" { name = "Example Channel %s - MS Teams" enabled = true - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" notify_when_ok = true notify_when_resolved = true }`, name) @@ -61,7 +61,7 @@ resource "sysdig_monitor_notification_channel_msteams" "sample-msteams2" { name = "Example Channel %s - MS Teams" share_with_current_team = true enabled = true - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" notify_when_ok = true notify_when_resolved = true }`, name) diff --git a/sysdig/resource_sysdig_monitor_notification_channel_slack_test.go b/sysdig/resource_sysdig_monitor_notification_channel_slack_test.go index 556ef56f7..527f2120e 100644 --- a/sysdig/resource_sysdig_monitor_notification_channel_slack_test.go +++ b/sysdig/resource_sysdig_monitor_notification_channel_slack_test.go @@ -52,7 +52,7 @@ func monitorNotificationChannelSlackWithName(name string) string { resource "sysdig_monitor_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true @@ -65,7 +65,7 @@ resource "sysdig_monitor_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" share_with_current_team = true enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true @@ -77,7 +77,7 @@ func monitorNotificationChannelSlackSharedWithShowSection(name string) string { resource "sysdig_monitor_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true diff --git a/sysdig/resource_sysdig_secure_notification_channel_msteams_test.go b/sysdig/resource_sysdig_secure_notification_channel_msteams_test.go index 9102242f8..a42046b14 100644 --- a/sysdig/resource_sysdig_secure_notification_channel_msteams_test.go +++ b/sysdig/resource_sysdig_secure_notification_channel_msteams_test.go @@ -57,7 +57,7 @@ func secureNotificationChannelMSTeamsWithName(name string) string { resource "sysdig_secure_notification_channel_msteams" "sample-msteams" { name = "Example Channel %s - MS Teams" enabled = true - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" notify_when_ok = true notify_when_resolved = true }`, name) @@ -69,7 +69,7 @@ resource "sysdig_secure_notification_channel_msteams" "sample-msteams" { name = "Example Channel %s - MS Teams" share_with_current_team = true enabled = true - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" notify_when_ok = true notify_when_resolved = true }`, name) @@ -80,7 +80,7 @@ func secureNotificationChannelMSTeamsWithNameAndTemplateVersion(name, version st resource "sysdig_secure_notification_channel_msteams" "sample-msteams" { name = "Example Channel %s - MS Teams" enabled = true - url = "https://hooks.msteams.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://sysdig.webhook.office.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" notify_when_ok = true notify_when_resolved = true template_version = "%s" diff --git a/sysdig/resource_sysdig_secure_notification_channel_slack_test.go b/sysdig/resource_sysdig_secure_notification_channel_slack_test.go index 01f8984c0..8e52979fa 100644 --- a/sysdig/resource_sysdig_secure_notification_channel_slack_test.go +++ b/sysdig/resource_sysdig_secure_notification_channel_slack_test.go @@ -57,7 +57,7 @@ func secureNotificationChannelSlackWithName(name string) string { resource "sysdig_secure_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true @@ -70,7 +70,7 @@ resource "sysdig_secure_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" share_with_current_team = true enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true @@ -82,7 +82,7 @@ func secureNotificationChannelSlackWithNameAndTemplateVersion(name, version stri resource "sysdig_secure_notification_channel_slack" "sample-slack" { name = "Example Channel %s - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = true notify_when_resolved = true diff --git a/website/docs/r/monitor_notification_channel_slack.md b/website/docs/r/monitor_notification_channel_slack.md index 954324eae..5d0be0bdc 100644 --- a/website/docs/r/monitor_notification_channel_slack.md +++ b/website/docs/r/monitor_notification_channel_slack.md @@ -18,7 +18,7 @@ Creates a Sysdig Monitor Notification Channel of type Slack. resource "sysdig_monitor_notification_channel_slack" "sample-slack" { name = "Example Channel - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = false notify_when_resolved = false diff --git a/website/docs/r/secure_notification_channel_slack.md b/website/docs/r/secure_notification_channel_slack.md index 284ec2cca..22085be34 100644 --- a/website/docs/r/secure_notification_channel_slack.md +++ b/website/docs/r/secure_notification_channel_slack.md @@ -18,7 +18,7 @@ Creates a Sysdig Secure Notification Channel of type Slack. resource "sysdig_secure_notification_channel_slack" "sample-slack" { name = "Example Channel - Slack" enabled = true - url = "https://hooks.slack.cwom/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" + url = "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" channel = "#sysdig" notify_when_ok = false notify_when_resolved = false