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

[datadog_cloud_workload_security_agent_rule] Fix enabled attribute reading #1379

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

skarimo
Copy link
Member

@skarimo skarimo commented Mar 11, 2022

d.getOk does not work well with zero values. Since the enabled attribute has a default value, no need to check if it is set or not with getOk.

Closes: #1378

@skarimo skarimo merged commit ef5a732 into master Mar 14, 2022
@skarimo skarimo deleted the sherz/fix-cloud-security-rule branch March 14, 2022 17:29
@therve therve changed the title Fix enabled attribute reading [datadog_cloud_workload_security_agent_rule] Fix enabled attribute reading Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot disable rule using cloud_workload_security_agent_rule resource
2 participants