Skip to content

Move image scans from gate to inform - #488

Merged
LouisParkin merged 1 commit into
stackstate-7.78.2from
cve-scan-inform
Aug 19, 2026
Merged

Move image scans from gate to inform#488
LouisParkin merged 1 commit into
stackstate-7.78.2from
cve-scan-inform

Conversation

@LouisParkin

Copy link
Copy Markdown

Switches the cluster-agent and agent image scans from mode: gate to mode: inform, per LouisLotter — the intention is not to keep getting stuck on CVEs that a PR did not introduce.

CVE-2026-73500 is the current example: it turned stackstate-7.78.2 red overnight and blocked #458, which only touches a beest workflow.

Kept: Trivy and Grype still run, VEX and exceptions/ still apply, and the findings tables and evaluation summary are still printed. Only the exit code changes.

Given up: an image with unmanaged HIGH/CRITICAL findings, or expired exceptions, now builds and publishes instead of failing. Remediation pressure moves to the CVE ticket workstream and the scheduled chart scans.

Step names gained report-only so a green scan step is not read as a passed gate.

Fixes #487

Newly published advisories turn the release branch red overnight and
block every open PR, including changes that cannot have introduced the
finding. CVE-2026-73500 in go.etcd.io/etcd/client/pkg/v3 did this on
2026-08-19: the base branch and #458 both failed on a CVE unrelated to
their content.

inform still runs Trivy and Grype, still applies VEX and the exceptions
directory, and still prints the findings tables and evaluation summary;
only the exit code changes, since ExitCode returns 0 unconditionally in
inform mode.

The trade-off is deliberate: an image with unmanaged HIGH or CRITICAL
findings, or with expired exceptions, will now build and publish rather
than fail. Remediation pressure moves to the CVE ticket workstream and
the scheduled chart scans.

The step names carry report-only so a green scan step is not mistaken
for a passed gate.

Fixes #487

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@LouisParkin

Copy link
Copy Markdown
Author

All three checks green; auto-merge armed.

Worth knowing for the review: today's scanner DB refresh produced two new HIGH findings, not one. CVE-2026-73500 (etcd) is fixed properly by #486, but CVE-2026-14456 in openssl@3.5.7 on the agent image needs an omnibus runtime bump to 3.5.8/3.6.4 — same class as the cryptography findings already under omnibus_runtime_bump_in_progress. That one blocked #486's DEB build.

This PR's own Binary and DEB builds passed against a base carrying both, which is the mechanism working as intended.

@LouisParkin
LouisParkin merged commit d7b07be into stackstate-7.78.2 Aug 19, 2026
49 of 51 checks passed
@LouisParkin
LouisParkin deleted the cve-scan-inform branch August 19, 2026 12:08
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.

[stackstate-agent] Move image scans from gate to inform

2 participants