Skip to content

Add Trivy Docker security scan to CI#755

Merged
adilhafeez merged 3 commits intomainfrom
adil/docker-security-scan
Feb 14, 2026
Merged

Add Trivy Docker security scan to CI#755
adilhafeez merged 3 commits intomainfrom
adil/docker-security-scan

Conversation

@adilhafeez
Copy link
Contributor

@adilhafeez adilhafeez commented Feb 13, 2026

Summary

  • Adds a new GitHub Actions workflow that scans the Docker image for CRITICAL and HIGH vulnerabilities using Trivy
  • On PRs: scan failures block merge
  • On main: scan runs non-blocking for visibility
  • Results are uploaded to the GitHub Security tab via SARIF

Scans the Docker image for CRITICAL and HIGH vulnerabilities using Trivy.
Blocks PRs on failures; runs non-blocking on main for visibility. Results
are uploaded to the GitHub Security tab via SARIF.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adilhafeez adilhafeez force-pushed the adil/docker-security-scan branch from 4c11ee0 to c7c9eb2 Compare February 13, 2026 23:44
Set minimal permissions: contents read for checkout, security-events
write for SARIF upload to the GitHub Security tab.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-advanced-security
Copy link

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.

- Install supervisor via pip instead of apt to eliminate 22 Debian
  python3.13 package vulnerabilities
- Pin urllib3>=2.6.3 to fix CVE-2025-66418, CVE-2025-66471, CVE-2026-21441
- Add ignore-unfixed to Trivy scan to suppress unfixable glibc CVE-2026-0861

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adilhafeez adilhafeez merged commit 38646fd into main Feb 14, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants