-
Notifications
You must be signed in to change notification settings - Fork 8
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
Scan images using Trivy #685
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
python 3.12.4 did not work, which is why the version was pinned to 3.12.3. However, the most recent python 3.12 version should work again.
e.g. when python 3.10 is vulnerable and fails, we still want to scan 3.11 and 3.12.
the cache-dir input is ignored when using trivy-config
This PR sets up container image scanning using Trivy from Aquasecurity.
This PR also changes the Python base image version back from 3.12.3 to 3.12. It was pinned to version 3.12.3, because 3.12.4 did not work. The most recent 3.12 version should work again.
Sample workflow log: https://github.com/fkie-cad/Logprep/actions/runs/11236005155/job/31235173514?pr=685
I recommend squashing all commits when merging, because the history is quite messy due to experimenting with the pipeline.