Some problems with rule AVD-GCP-0012 #5456
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
The examples set the
zone_signing_keys
attribute forgoogle_dns_keys
of the data source, but this is a read-only attribute.Code:
I get the following error during validation:
Ref:
google_dns_managed_zone
resource when thegoogle_dns_keys
data source is used.Code:
Output:
trivy conf . 2023-10-26T17:34:22.546+0700 INFO Misconfiguration scanning is enabled 2023-10-26T17:34:22.945+0700 INFO Detected config files: 2
But if I delete the data source, I will get a warning:
The text was updated successfully, but these errors were encountered: