Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Scout Policy -> Status: failed to evaluate policies .... failed to send sync integration request: 409 409 Conflict #150

Open
IgorWolbers opened this issue Oct 8, 2024 · 1 comment

Comments

@IgorWolbers
Copy link

I am trying to execute the docker scout CLI on a windows machine to evaluate my policy that I have defined in Docker Hub. I am getting a 409 but I am not understanding what the conflict is or where to resolve it. Can you anyone point me in the right direction?

Also, I do not have the option to update my version very easily but if that is the fix I will start that process.
Thank you in advance.

> docker scout policy weather-app-server --org [MY_ORG_HERE]
    i New version 1.14.0 available (installed version is 1.6.3) at https://github.com/docker/scout-cli
    ! 'docker scout policy' is experimental and its behaviour might change in the future
    v SBOM of image already cached, 339 packages indexed
level=error msg="Status: failed to evaluate policies: failed to evaluate policy docker/non-root-user: failed to send sync integration request: 409 409 Conflict, Code: 1"
@mikeparker
Copy link

My best guess is that you need to update. 1.6.3 is 6 months old and a lot has changed since then.

If you can't update then another alternative is to use the containerized version here https://hub.docker.com/r/docker/scout-cli if that works for you

$ docker run -it \
  -e DOCKER_SCOUT_HUB_USER=<your Docker Hub user name> \
  -e DOCKER_SCOUT_HUB_PASSWORD=<your Docker Hub PAT>  \
  docker/scout-cli <sub command>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants