GoogleCloudPlatform / config-validator

Golang library which provides functionality to evaluate GCP resources against Rego-based policies
Apache License 2.0
45 stars 34 forks source link

Removed gcv/cf folder #180

Closed melinath closed 2 years ago

melinath commented 2 years ago

This folder doesn't actually seem to be used any more (except for one utility function). Removing it clarifies the code structure.

Ostensibly this is where the code to support spec.match.gcp-style policies lives; however, the relevant code just doesn't seem to actually be reachable.

melinath commented 2 years ago

@maxsmythe Not sure if you might happen to have specific knowledge about this or if there might be something I'm missing.

melinath commented 2 years ago

I've confirmed that spec.match.gcp doesn't do anything currently. The match seems to be treated as empty - i.e. matching everything.

maxsmythe commented 2 years ago

Unfortunately no specific knowledge on my end