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_security_monitoring_rules (Data Source) errors on "Log4Shell Scanning Detected" default rule #1439

Closed
agfunderburg10 opened this issue May 10, 2022 · 1 comment

Comments

@agfunderburg10
Copy link

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Terraform v1.1.9 on linux_arm64

Affected Resource(s)

  • datadog_security_monitoring_rules

Terraform Configuration Files

This is used in the component:

data "datadog_security_monitoring_rules" "default_rules" {
  default_only_filter = true
}

Debug Output

https://gist.github.com/agfunderburg10/8e63adbbad74d5d0e2236027e19b1039

Expected Behavior

The data source should successfully obtain the data from the DataDog default Security Detection rules.

Actual Behavior

It fails to do so because something with this specific rule is not supported.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Verify you have the "Log4Shell Scanning Detected" default rule in the Security Detection Rules. (Since this is a default, I assume it was created by DataDog)
  2. Deploy a terraform component that attempts to pull the rule data
data "datadog_security_monitoring_rules" "default_rules" {
  default_only_filter = true
}
  1. terraform apply
  2. You should receive the error

Important Factoids

I have tried this with versions 3.6, 3.9, 3.10, and 3.11 of the datadog provider. All are broken (some give difference errors though)

@skarimo
Copy link
Member

skarimo commented May 17, 2022

Thanks for the report. This was resolved by: DataDog/datadog-api-client-go#1493 and should be in the next release

@skarimo skarimo closed this as completed May 17, 2022
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

No branches or pull requests

2 participants