-
Install Python 3.12+ https://www.python.org/
-
Install Docker https://www.docker.com/
-
Install Poetry https://python-poetry.org/
-
Activate environment and install dependencies
poetry shell
poetry install --no-root
-
Install Trivy https://trivy.dev/latest/
-
Install Grype https://github.com/anchore/grype
-
Install Snyk https://docs.snyk.io/
- Pull the image you want to scan
docker pull <image_name>
- Run the scanning
poetry run python3 tool.py <image_name>
or
poetry shell
python3 tool.py <image_name>