Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CWS-2164] - Put the cloud workload security resources as deprecated #2407

Merged
merged 3 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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,
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/cloud_workload_security_agent_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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.
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

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/cloud_workload_security_agent_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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.
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

Expand Down
Loading