GoogleCloudPlatform / config-validator

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

Adjust fuzz target to work with OSS-Fuzz #170

Closed MartinPetkov closed 3 years ago

MartinPetkov commented 3 years ago

I've been testing the upcoming PR to OSS-Fuzz and I've adjusted the fuzz target to initialize the validator appropriately, based on my reading of The Fuzzer Environment.

I also fixed the corpus targets so they get successfully parsed into the Asset proto.