CVE results in release notes
Security results belong where decisions are made. We put them in the release notes at two levels:
| Level | Where | What it shows |
|---|---|---|
| Component release | The GitHub release of the component, for example uug-ai/hub-api v1.11.69 | Which checks this version went through |
| Environment promotion | The GitOps pull request that deploys a set of versions to an environment or customer | The Trivy CVE counts of every image in the target environment, scanned when the notes are generated |
Component releases: the hardening status
The shared release workflow writes one line at the top of every GitHub release, above the change list:
| Status | Meaning |
|---|---|
| Image hardening: Verified (security checks, SBOM, provenance and signing) | A hardened release. It passed the Trivy gate (no medium, high or critical CVE and no secret at release), has an SBOM and provenance, and is signed with a hardening attestation. |
| Image hardening: Signed (standard build, not hardened) | Signed, but not scanned at release and without an SBOM. Fine for staging; production rejects it. |
| Image hardening: Not verified (standard build) | Neither scanned nor signed. |
So a reader of the release, or a reviewer of the staging pull request that copies these notes, sees straight away whether the version may go to production. The scan reports and SBOM themselves are in the release workflow’s artifacts; see SBOMs.
Promotions: the Trivy CVE table
A release that was clean on the day it shipped can be affected by a CVE published since. A promotion often deploys versions released days or weeks earlier, so the promotion workflow scans again.
When uug-ai/gitops promotes an environment with Generate release notes
enabled, promote.yaml:
- Collects every image the target environment will run after the promotion, from the manifests and Helm values.
- Updates the Trivy vulnerability database and scans each image.
- Appends a Container image security (Trivy) section to the generated release notes in the promotion pull request, after the summary of the changes.
The table looks like this (example values):
## Container image security (Trivy)
Scan completed at 2026-11-18 15:44 UTC.
| Image | Critical | High | Medium | Low | Unknown |
| --- | ---: | ---: | ---: | ---: | ---: |
| ghcr.io/uug-ai/<component>:<tag> | 0 | 0 | 0 | 0 | 0 |
| <third-party image>:<tag> | 1 | 4 | 12 | 20 | 0 |
| … | | | | | |The counts include CVEs without a fix and count the same CVE separately in
each package it affects. Multi-platform images are scanned for Linux AMD64.
An image that could not be scanned shows N/A with a warning: N/A is not
zero. The raw per-image Trivy reports are in the release-image-security
artifact of the workflow run.
For a customer promotion, the pull request, and with it the CVE table, opens in that customer’s GitOps repository, so the customer’s reviewers see the same results.
Reviewing a promotion
- Read the change summary, then the Container image security (Trivy) table.
- Any non-zero critical, high or medium count for a
ghcr.io/uug-aiimage needs a decision: patch first, or promote and patch straight away. - Check for N/A rows and the warning below the table.
- For details, download
release-image-securityfrom the promotion run.
See also Deployment pull requests and Promotion.