I am trying to run
docker scan <REPOSITORY>:<TAG>
but it fails with error
failed to get DockerScanID: bad status code "400 Bad Request"
notes:
I probably miss something else... any clues? thanks
you have to log in to snyk via the cli:
docker scan --login
then you have to enter the credentials in the browser. after that you are able to run
docker scan <REPOSITORY>:<TAG>
note: responding with a 400
error is a bit misleading. responding with a 401
or 403
(and maybe even saying you have to authenticate with "docker scan --login"
would have made it more human readable :|
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With