From 655f6f66934aa370f1cc8db2ccba94c8e1a1e004 Mon Sep 17 00:00:00 2001 From: Malo10LeGoff Date: Wed, 15 May 2024 17:48:06 +0200 Subject: [PATCH 1/3] [CWS-2164] Update the cloud workload security resource description --- ...data_source_datadog_cloud_workload_security_agent_rules.go | 2 +- .../resource_datadog_cloud_workload_security_agent_rule.go | 2 +- docs/data-sources/cloud_workload_security_agent_rules.md | 4 ++-- docs/resources/cloud_workload_security_agent_rule.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go index 14575cb2bc..4c9c643785 100644 --- a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go +++ b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go @@ -12,7 +12,7 @@ import ( func dataSourceDatadogCloudWorkloadSecurityAgentRules() *schema.Resource { return &schema.Resource{ - Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources.", + Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon).", ReadContext: dataSourceDatadogCloudWorkloadSecurityAgentRulesRead, SchemaFunc: func() map[string]*schema.Schema { diff --git a/datadog/resource_datadog_cloud_workload_security_agent_rule.go b/datadog/resource_datadog_cloud_workload_security_agent_rule.go index dd7a993509..d74f64490f 100644 --- a/datadog/resource_datadog_cloud_workload_security_agent_rule.go +++ b/datadog/resource_datadog_cloud_workload_security_agent_rule.go @@ -12,7 +12,7 @@ import ( func resourceDatadogCloudWorkloadSecurityAgentRule() *schema.Resource { return &schema.Resource{ - Description: "Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules.", + Description: "Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon).", CreateContext: resourceDatadogCloudWorkloadSecurityAgentRuleCreate, ReadContext: resourceDatadogCloudWorkloadSecurityAgentRuleRead, UpdateContext: resourceDatadogCloudWorkloadSecurityAgentRuleUpdate, diff --git a/docs/data-sources/cloud_workload_security_agent_rules.md b/docs/data-sources/cloud_workload_security_agent_rules.md index 3d7408d1b7..75fcc13486 100644 --- a/docs/data-sources/cloud_workload_security_agent_rules.md +++ b/docs/data-sources/cloud_workload_security_agent_rules.md @@ -3,12 +3,12 @@ page_title: "datadog_cloud_workload_security_agent_rules Data Source - terraform-provider-datadog" subcategory: "" description: |- - Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. + Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon). --- # datadog_cloud_workload_security_agent_rules (Data Source) -Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. +Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon). ## Example Usage diff --git a/docs/resources/cloud_workload_security_agent_rule.md b/docs/resources/cloud_workload_security_agent_rule.md index dc926e9b56..477ff74bae 100644 --- a/docs/resources/cloud_workload_security_agent_rule.md +++ b/docs/resources/cloud_workload_security_agent_rule.md @@ -3,12 +3,12 @@ page_title: "datadog_cloud_workload_security_agent_rule Resource - terraform-provider-datadog" subcategory: "" description: |- - Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. + Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon). --- # datadog_cloud_workload_security_agent_rule (Resource) -Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. +Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon). ## Example Usage From 95cd9d07cab5854534047f2c41a08bdff34222ca Mon Sep 17 00:00:00 2001 From: Malo10LeGoff Date: Wed, 15 May 2024 17:48:49 +0200 Subject: [PATCH 2/3] [CWS-2164] - fix description for data source --- ...data_source_datadog_cloud_workload_security_agent_rules.go | 2 +- docs/data-sources/cloud_workload_security_agent_rules.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go index 4c9c643785..1c95498cec 100644 --- a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go +++ b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go @@ -12,7 +12,7 @@ import ( func dataSourceDatadogCloudWorkloadSecurityAgentRules() *schema.Resource { return &schema.Resource{ - Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon).", + Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon).", ReadContext: dataSourceDatadogCloudWorkloadSecurityAgentRulesRead, SchemaFunc: func() map[string]*schema.Schema { diff --git a/docs/data-sources/cloud_workload_security_agent_rules.md b/docs/data-sources/cloud_workload_security_agent_rules.md index 75fcc13486..c3da72330e 100644 --- a/docs/data-sources/cloud_workload_security_agent_rules.md +++ b/docs/data-sources/cloud_workload_security_agent_rules.md @@ -3,12 +3,12 @@ page_title: "datadog_cloud_workload_security_agent_rules Data Source - terraform-provider-datadog" subcategory: "" description: |- - Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon). + Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon). --- # datadog_cloud_workload_security_agent_rules (Data Source) -Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this resource is going to be deprecated soon). +Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon). ## Example Usage From 8e001904954a36952bd78dee09b58b7b6de04b5c Mon Sep 17 00:00:00 2001 From: Malo10LeGoff Date: Fri, 17 May 2024 11:29:59 +0200 Subject: [PATCH 3/3] [CWS-2164] - Update description --- ...data_source_datadog_cloud_workload_security_agent_rules.go | 2 +- .../resource_datadog_cloud_workload_security_agent_rule.go | 2 +- docs/data-sources/cloud_workload_security_agent_rules.md | 4 ++-- docs/resources/cloud_workload_security_agent_rule.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go index 1c95498cec..f01c67a9f0 100644 --- a/datadog/data_source_datadog_cloud_workload_security_agent_rules.go +++ b/datadog/data_source_datadog_cloud_workload_security_agent_rules.go @@ -12,7 +12,7 @@ import ( func dataSourceDatadogCloudWorkloadSecurityAgentRules() *schema.Resource { return &schema.Resource{ - Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon).", + Description: "Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. Deprecated, use CSM Threats Agent Rules instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/data-sources/csm_threats_agent_rules", ReadContext: dataSourceDatadogCloudWorkloadSecurityAgentRulesRead, SchemaFunc: func() map[string]*schema.Schema { diff --git a/datadog/resource_datadog_cloud_workload_security_agent_rule.go b/datadog/resource_datadog_cloud_workload_security_agent_rule.go index d74f64490f..eb23102ca0 100644 --- a/datadog/resource_datadog_cloud_workload_security_agent_rule.go +++ b/datadog/resource_datadog_cloud_workload_security_agent_rule.go @@ -12,7 +12,7 @@ import ( func resourceDatadogCloudWorkloadSecurityAgentRule() *schema.Resource { return &schema.Resource{ - Description: "Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon).", + Description: "Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. Deprecated, use CSM Threats Agent Rule instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/csm_threats_agent_rule", CreateContext: resourceDatadogCloudWorkloadSecurityAgentRuleCreate, ReadContext: resourceDatadogCloudWorkloadSecurityAgentRuleRead, UpdateContext: resourceDatadogCloudWorkloadSecurityAgentRuleUpdate, diff --git a/docs/data-sources/cloud_workload_security_agent_rules.md b/docs/data-sources/cloud_workload_security_agent_rules.md index c3da72330e..c7520ef2b8 100644 --- a/docs/data-sources/cloud_workload_security_agent_rules.md +++ b/docs/data-sources/cloud_workload_security_agent_rules.md @@ -3,12 +3,12 @@ page_title: "datadog_cloud_workload_security_agent_rules Data Source - terraform-provider-datadog" subcategory: "" description: |- - Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon). + Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. Deprecated, use CSM Threats Agent Rules instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/data-sources/csmthreatsagent_rules --- # datadog_cloud_workload_security_agent_rules (Data Source) -Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources (this data source is going to be deprecated soon). +Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. Deprecated, use CSM Threats Agent Rules instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/data-sources/csm_threats_agent_rules ## Example Usage diff --git a/docs/resources/cloud_workload_security_agent_rule.md b/docs/resources/cloud_workload_security_agent_rule.md index 477ff74bae..bc64f6da27 100644 --- a/docs/resources/cloud_workload_security_agent_rule.md +++ b/docs/resources/cloud_workload_security_agent_rule.md @@ -3,12 +3,12 @@ page_title: "datadog_cloud_workload_security_agent_rule Resource - terraform-provider-datadog" subcategory: "" description: |- - Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon). + Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. Deprecated, use CSM Threats Agent Rule instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/csmthreatsagent_rule --- # datadog_cloud_workload_security_agent_rule (Resource) -Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules (this resource is going to be deprecated soon). +Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. Deprecated, use CSM Threats Agent Rule instead: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/csm_threats_agent_rule ## Example Usage