Repository navigation
ci: add Trivy security scan uploading to the Security tab - #457
alexgleith wants to merge 1 commit into
Conversation
|
Apologies for the driveby PR, but I have a project that has asked me about security vulnerabilities and I'm hoping we can lift the visibility of any outstanding vulnerabilities. I'll help work on resolving some, once we've got this merged. (Open to alternative methods!) |
|
Thanks @alexgleith, and no need to apologise: the motivation makes sense! A few things came up looking at the workflow:
What neither Dependabot nor an For some inspirations on how to do that in your own GitHub workflow you could look at that for example https://github.com/EOPF-Explorer/titiler-eopf/blob/9f79180266070be38c7a43648971d13c91ac7740/.github/workflows/docker-helm.yml#L89 |
Oh, I didn't realize this and of course it makes sense. I'll close this, and consider running tests on a fork or just run local checks and propose fixes if necessary for my client. Thanks for the feedback @lhoupert |
Adds a Trivy filesystem scan (dependency vulnerabilities from
uv.lock, Dockerfile/workflow misconfigurations, secrets) that uploads SARIF results to GitHub's Security tab as code scanning alerts.Runs on pushes to
main, on PRs, and weekly. Actions are SHA-pinned like the other workflows.🤖 Generated with Claude Code