docker / scan-cli-plugin

Docker Scan is a Command Line Interface to run vulnerability detection on your Dockerfiles and Docker images
Apache License 2.0
178 stars 43 forks source link

Use Snyk binary embedded with Docker Desktop if more recent than loca… #190

Closed glours closed 2 years ago

glours commented 2 years ago

…l Snyk CLI installation

Signed-off-by: Guillaume Lours guillaume.lours@docker.com

- What I did Add a warning message when a local install of the Snyk CLI is installed and older that the one provided with Docker Desktop Use the Docker Desktop one in this case.

If the local install of the Snyk CLI is equal or greater to the Docker Desktop one, we use the local one.

Screen Shot 2021-12-22 at 10 30 39 PM

- How to verify it Run E2E tests

- A picture of a cute animal (not mandatory) image