Repository navigation
[ca] chore: update eligible scanner image pins - #77669
Conversation
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Review complete: no actionable issues found in the changed scanner image pins or synchronized generated documentation. The specialist pass was completed; its advisory concerns about digest provenance and literal pin tests were not actionable from this diff and were not published.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
There was a problem hiding this comment.
🔵 Needs a closer look
Human verification is needed because the protected README change and security-sensitive scanner image digests require confirming authorization, registry provenance, intended releases, and compatibility beyond the local string-consistency tests.
No open issues 🎉
What changed in this PR
Updates the CLI’s pinned Syft, Grype, and Grant container images to newer stable releases with immutable registry digests, while synchronizing tests and generated documentation.
Changes:
- Updated scanner image versions and SHA-256 digests.
- Updated release-pin expectations in the Docker image tests.
- Refreshed the generated CLI constant documentation.
| File | Description |
|---|---|
| pkg/cli/README.md | Updates the generated documentation table for the scanner image constants. |
| pkg/cli/docker_images.go | Defines the updated immutable Syft, Grype, and Grant image references. |
| pkg/cli/docker_images_test.go | Verifies the new scanner image release pins. |
Review effort: Lite (dynamic)
Comment MemoryPeek at saved memory (spec-review-history)History |
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs to this pin bump. No blocking issues: the change is mechanical and checks out.
📋 Verification & Notes
Verified
- ✅
go test ./pkg/cli -run TestScannerImageReleasePins -count=1 -vpasses (all three subtests ran). - ✅ No stale references to the old Syft, Grype, or Grant pins remain anywhere in the repo.
- ✅ The new digests match across
docker_images.go,docker_images_test.go, and the generatedpkg/cli/README.mdrow. - ✅ Release metadata confirmed via the GitHub API: all three are stable (
prerelease: false,draft: false) and published 2026-11-09, before the cooldown cutoff.
Non-blocking
- The pin test compares against hardcoded literals, so it catches drift but not a malformed or truncated digest. See the inline comment on
docker_images_test.go.
Could not verify
- Registry digests could not be checked against Docker Hub from this runner (TLS interception), so the
sha256values are unverified here. The PR body also notes GHCR digest resolution failed. Please confirm the digests against the registry before merge. - The
pr-triageoutput did not match the documented JSON shape, so skill selection used the diff directly.
Human review required
README.mdis a protected file inrequest-reviewmode. Explicit human sign-off is needed before merge.
@copilot please address the review comment above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
| {"syft", SyftImage, "anchore/syft:v1.57.0@sha256:3c70e6d5979364cefdc22b51617a78fd264574d3bd6b4f84a351204147025e2a"}, | ||
| {"grype", GrypeImage, "anchore/grype:v0.121.2@sha256:6a36234da13f9faa327306ac0b3dab3405cfa2b4eb20c8f904125a8707863913"}, | ||
| {"grant", GrantImage, "anchore/grant:v0.7.0@sha256:2f273ee261204d24a4d7e8799c2bcc210374c652000e7c415da2bb5173ec99d3"}, | ||
| {"syft", SyftImage, "anchore/syft:v1.57.1@sha256:03215d0e98b661d0ecbc8575dbc14d65be1743b5de5df6410aecb7e80f95b060"}, |
There was a problem hiding this comment.
[/tdd] This test only compares each constant to a hardcoded literal, so it catches drift but not a malformed pin (for example a truncated digest). A format check would close that gap. Non-blocking.
💡 Suggested format check
var pinnedImageRef = regexp.MustCompile(`^anchore/[a-z]+:v\d+\.\d+\.\d+@sha256:[0-9a-f]{64}$`)Assert pinnedImageRef.MatchString(tt.got) alongside the existing equality check.
@copilot please address this.
|
🎉 This pull request is included in a new release. Release: |
Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
README.mdAllow intentional protected-file changes
If this workflow is intended to modify these files, add specific filenames or folder prefixes to
safe-outputs.create-pull-request.protected-files.excludein the workflow Markdown frontmatter. For example, to allow.changeset/*, exclude the folder using.changeset/:Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If
allowed-filesis configured, these paths must also match it. Rungh aw compileafter updating the workflow.Summary
Updates the eligible stable Syft, Grype, and Grant scanner image pins after the 72-hour release cooldown. An open issue and pull request search found no active matching update.
Evidence
Check time: 2026-11-14T05:27:12Z. Cooldown cutoff: 2026-11-11T05:27:12Z. Each selected release was stable, newer than the existing pin, and published before the cutoff.
Changes
pkg/cli/docker_images.gowith the new immutable versions and registry digests.pkg/cli/docker_images_test.gorelease-pin expectations.pkg/cli/README.mdconstant table.Validation
make fmtpassed.go test ./pkg/cli -run 'Test(DefaultDockerImages|DockerImages|PrepareDockerImages|Default.*Image|Docker)' -count=1passed.git diff --checkpassed.Deferred
Generated by the CLI Version Checker workflow run 43561316791.