GoogleCloudPlatform / policy-library

A library of constraint templates and sample constraints for Constraint Framework tools
Apache License 2.0
223 stars 128 forks source link

Validation for VPC flow logs in a subnetwork does not consider exceptions listed in the documentation #435

Closed daniel-cit closed 1 year ago

daniel-cit commented 1 year ago

In the documentation related to the creation of subnetworks

the validation that checks if VPC flow logs is enable:

is not considering these two case.

This will mark as invalid the creation of a subnetwork for a Secure Web Proxy or an Internal HTTP(S) load balancer among other cases.