open-policy-agent / conftest

Write tests against structured configuration data using the Open Policy Agent Rego query language
https://conftest.dev
Other
2.82k stars 298 forks source link

fix: Catch Google Artifact Registry URL during OCI detection #921

Closed jpreese closed 4 months ago

jpreese commented 4 months ago

Relates to https://github.com/open-policy-agent/conftest/issues/919 and https://github.com/open-policy-agent/conftest/pull/920

I'm not convinced we really need to utilize regex for URL detection (we should just be able to get by with string contains checking?), but to keep things as they are I just added another check for pkg.dev