chore(oscap): re-pin fixture base-image digests - #157
Closed
octo-sts-2[bot] wants to merge 1 commit into
Closed
Conversation
octo-sts-2
Bot
force-pushed
the
update-ca-cert-61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
branch
from
August 20, 2026 01:30
42c2b7e to
73ac0d0
Compare
octo-sts
Bot
force-pushed
the
update-ca-cert-61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
branch
2 times, most recently
from
August 21, 2026 22:17
0b52347 to
2f33556
Compare
octo-sts-7
Bot
force-pushed
the
update-ca-cert-61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
branch
from
August 22, 2026 01:30
2f33556 to
f0027c6
Compare
octo-sts-2
Bot
force-pushed
the
update-ca-cert-61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
branch
2 times, most recently
from
August 24, 2026 03:40
838c6fe to
a3353e9
Compare
Re-pins the digest-pinned FROM lines in tests/e2e/fixtures/*/Dockerfile and the pinned wolfi-base digest in the offline harness test (TestParseWolfiBaseRef) together, so the two can never drift out of sync and break the offline unit tests. Both stamp files CertificateAudit reads were checked first, on cgr.dev/chainguard/jre:latest: the CA bundle matches /etc/ssl/certs/.ca-certificates.crt.sha256 and the Java truststore matches /etc/ssl/certs/java/.cacerts.sha256. Image: cgr.dev/chainguard/wolfi-base:latest Digest: sha256:a31344ab2cb8618db84f535eec56f76f6178b142cb92cb2e48676cc2dcebea72 Stamp image: cgr.dev/chainguard/jre:latest CA SHA: 61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9 Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
octo-sts
Bot
force-pushed
the
update-ca-cert-61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
branch
from
August 24, 2026 18:23
a3353e9 to
4ba2cc8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixture Base-Image Update
Re-pins two values that must stay in lockstep:
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:...line inevery
tests/e2e/fixtures/*/Dockerfile.pinnedwolfi-base digest constant asserted byTestParseWolfiBaseRefintests/oscap-offline/internal/scan/fixtures_test.go.If these drift (e.g. Dependabot bumps the fixture digest without the
test pin following), the offline harness unit tests break. This
workflow is the authoritative update point for both together;
TestParseWolfiBaseRefwas run against the updated tree before thisPR was opened.
CertificateAudit itself no longer pins any hash — the OVAL reads each
expected digest from the stamp file shipped beside the file it
describes inside the scanned image
(
/etc/ssl/certs/.ca-certificates.crt.sha256, and on Java images/etc/ssl/certs/java/.cacerts.sha256). TheVerify trust-store stamp filesstep above asserts both are present and agree, usingcgr.dev/chainguard/jre:latestbecause it carries both, so an imagethat dropped one would fail this run rather than silently red the
E2E CertificateAudit assertions.
cgr.dev/chainguard/wolfi-base:latestsha256:a31344ab2cb8618db84f535eec56f76f6178b142cb92cb2e48676cc2dcebea72cgr.dev/chainguard/jre:latestsha256:aca19e6c8e1a5be89d5f28c4c5e0bec09a208ab00d8c6c794b8a8add925b0d0861efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9truetrue