You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Track C-0313 registry defaults and configured Rego/CEL parity #6265
Kubescape #6228 adds C-0313 to the Rego/CEL fixture parity harness. On Linux amd64 with Go 1.27.4, at 97924848444aed2b9c2819233559d72a36c51721, run from core:
go test ./pkg/opaprocessor/ -run '^TestRegoCELParity$/^C-0313$' -count=1 -v
The test passes with 55 pinned Rego-pass/CEL-fail disagreements in 61 cases. One example is the sandbox-containers-docker-short fixture under core/pkg/opaprocessor/testdata/regocelparity/rules/agent-runtime-image-registries/test/. The shipped Rego allow-list is empty and disables C-0313. The CEL bundle ships [gcr.io] and enforces it. Setting settings.postureControlInputs.imageRepositoryAllowList to ["gcr.io"] in the vendored Rego settings and rerunning the same command produces actual: []string(nil) at the pinned-disagreement assertion.
Add automated coverage with matching nonempty settings in both engines, including Docker Hub short names and images from an unlisted registry. Assert the intended verdicts for the representative cases so equal incorrect results fail.
Activity
Sashang-debug commentedon Dec 5, 2026
working