Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Enable Trivy container CVE scan (ENG-314)#427

Open
dblane-digicatapult wants to merge 2 commits into
mainfrom
ENG-314-container-scan
Open

Enable Trivy container CVE scan (ENG-314)#427
dblane-digicatapult wants to merge 2 commits into
mainfrom
ENG-314-container-scan

Conversation

@dblane-digicatapult

@dblane-digicatapult dblane-digicatapult commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Linked tickets

ENG-314

High level description

Enables the Trivy container CVE scan by setting scan_container: true on the shared build-docker call (test and release). The built linux/amd64 image is scanned with a digest-pinned Trivy; the build fails on CRITICAL findings and uploads a JSON report artifact (no GHAS upload). Scan runs in an isolated least-privilege job.

PR Type

  • Chore

Operational impact

CI-only. Adds an isolated scan job to the docker build on PR and release. Fails the build on CRITICAL image CVEs.

Sets scan_container: true on the build-docker call(s) so the built amd64
image is scanned with Trivy and the build fails on CRITICAL findings.

ENG-314
@dblane-digicatapult
dblane-digicatapult requested a review from a team as a code owner July 14, 2026 16:03
@dblane-digicatapult dblane-digicatapult added the v:patch Change requires a semver patch version change label Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

v:patch Change requires a semver patch version change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants