fix(misconf): false positive avd-gcp-0029 when subnet has certain fields #5243
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Discussed in #5240
Originally posted by mcinquin September 25, 2023
IDs
avd-gcp-0029
Description
Hello,
When a subnet is created with REGIONAL_MANAGED_PROXY or GLOBAL_MANAGED_PROXY purpose field, it leads to false positive. Which is incorrect because flow logs cannot be activated for this type of subnetwork (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork#log_config)
Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Target OS
No response
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctThe text was updated successfully, but these errors were encountered: