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

supporting cws multi-policy in terraform #2681

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

homoeconomics
Copy link

Adding new resources and data sources to support the CWS multi-policy feature.

  1. Updated the data source datadog_csm_threats_agent_rules such that users could pass in the policy_id as an optional attribute to fetch rules in a specific policy.
  2. Added a new data source datadog_csm_threats_policies for users to list their policies.
  3. Added a new resource datadog_csm_threats_policy for users to manage their CWS policies.
  4. Added a new resource datadog_csm_threats_multi_policy_agent_rule for users to manage their rules in a policy.

TODO: record the tests after the DD SDK is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant