Skip to content

feat: add daily container rescan workflow#764

Merged
leoparente merged 1 commit intodevelopfrom
feat/container-rescan
Mar 28, 2026
Merged

feat: add daily container rescan workflow#764
leoparente merged 1 commit intodevelopfrom
feat/container-rescan

Conversation

@marc-barry
Copy link
Copy Markdown
Contributor

Summary

Adds a daily scheduled Trivy vulnerability scan of the published netboxlabs/pktvisor:latest-develop Docker Hub image.

What it does

  • Runs daily at 06:00 UTC + manual dispatch
  • Pulls the published image and scans with Trivy
  • Renders a vulnerability table in the workflow step summary
  • Uploads SARIF to GitHub Code Scanning

Why rescan only (no PR-time build scan)

The pktvisor Docker image involves a complex C++ build with cmake/conan that takes significant time. Adding a full build+scan to every PR would be too expensive. The daily rescan catches newly disclosed CVEs in the published image without duplicating the build.

PR-time build scanning can be added later as a step in the existing build-develop.yml workflow.

Test plan

  • Trigger via workflow_dispatch to validate
  • Step summary shows vulnerability table
  • SARIF results appear in Security → Code Scanning

Add a scheduled Trivy vulnerability scan of the published Docker Hub
image (netboxlabs/pktvisor:latest-develop). Renders a vulnerability
table in the step summary and uploads SARIF to GitHub Code Scanning.

PR-time build scanning is deferred due to the expensive C++ build
process. This rescan catches newly disclosed CVEs in the published
image.
@leoparente leoparente merged commit 2ed7470 into develop Mar 28, 2026
13 of 15 checks passed
@leoparente leoparente deleted the feat/container-rescan branch March 28, 2026 23:36
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