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

Fix docs and example for security monitoring default rule #1246

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

therve
Copy link
Contributor

@therve therve commented Oct 21, 2021

The example mentioned rule_id which is not a parameter. I also
re-enforced the fact that it can't be created.

Closes #1243

The example mentioned rule_id which is not a parameter. I also
re-enforced the fact that it can't be created.

Closes #1243
@therve therve requested review from a team as code owners October 21, 2021 06:51
@@ -8,13 +8,12 @@ description: |-

# datadog_security_monitoring_default_rule (Resource)

Provides a Datadog Security Monitoring Rule API resource for default rules.
Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by "it can only be imported"?
Also one note, I would write
you can only enable/disable a default rules and change it's notifications and it's filters (might be double checked by documentation thought.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean it doesn't fit in the regular terraform workflow, as if you try to create the resource it will fail.

@therve
Copy link
Contributor Author

therve commented Oct 22, 2021

/azp run

@therve therve enabled auto-merge (squash) October 22, 2021 14:01
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@therve therve merged commit ea56d5a into master Oct 22, 2021
@therve therve deleted the therve/sec-rule-docs branch October 22, 2021 14:24
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.

Using datadog_security_monitoring_default_rule gives argument error
3 participants