Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Build the Docker Hardened Images image from dev, scan it with Trivy and upload the SARIF report to the Security tab. The run covers pushes to dev that change the image, a weekly schedule and manual runs. Grype stays the gate on pull requests; Trivy reports and never fails a run. Replace the starter template: pin every action to a commit, log in to dhi.io for the base images, and scan the image this repository builds. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
spydisec
force-pushed
the
spydisec-patch-2
branch
from
November 16, 2026 02:27
33d001e to
4050df8
Compare
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
docker.yml already reports a check called image; a second one with the same name makes the two hard to tell apart on a pull request. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Owner
Author
|
Closing: Grype already scans the same image on pull requests and every week, so a second scanner adds a third image build and duplicate findings. The Security tab alerts come from Grype instead, through a SARIF upload in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a Trivy workflow that builds the image from
dev, scans it and uploads the findings to the Security tab as code scanning alerts.Changes
.github/workflows/trivy.ymlruns on pushes todevthat change the image (Dockerfile,uv.lock,pyproject.toml,src/), every Saturday, and by hand. Pull requests run it only when the workflow file changes.dhi.io, builds the Docker Hardened Images image and scans it for high and critical CVEs that already have a fix, the same policy as the Grype scans.docker.yml) and on the published image (image-scan.yml). Trivy reports and never fails a run on a finding.aquasecurity/trivy-actionv0.36.0 instead of v0.5.0 from 2022), and the placeholder image name is gone.Checklist
make checknot run: the change touches one workflow file only.🤖 Generated with Claude Code