Closed jonnyrobots closed 8 months ago
Thanks. We should fail in this case, but gracefully would be better!
Worth noting however, that you can evaluate a local image against arbitrary organization's policy sets. It just won't work to fetch existing results from registry.
I've fixed this upstream and it should be in the next release.
Repro
docker scout config organization [orgA]
docker scout policy [image] --platform linux/amd64
(where image is in orgB)Ok scenario
docker scout config organization [orgB]
docker scout policy [image] --platform linux/amd64
(where image is in orgB)