Skip to content

ci: pin KICS and wolfi-base by digest, fix config_path#155

Closed
bsgrigorov wants to merge 1 commit intoCheckmarx:masterfrom
bsgrigorov:ci/digest-pin-kics-wolfi
Closed

ci: pin KICS and wolfi-base by digest, fix config_path#155
bsgrigorov wants to merge 1 commit intoCheckmarx:masterfrom
bsgrigorov:ci/digest-pin-kics-wolfi

Conversation

@bsgrigorov
Copy link
Copy Markdown

@bsgrigorov bsgrigorov commented Apr 23, 2026

Summary

  • Pin checkmarx/kics and Chainguard wolfi-base by immutable digest in the multistage Dockerfile (mitigates mutable-tag supply-chain risk).
  • Fix runs.args to use ${{ inputs.config_path }} so it matches the declared input (replaces invalid inputs.config).

Notes

  • wolfi-base on cgr.dev only exposes latest as a human tag; the digest is the stable identifier (see Chainguard rolling images).
  • KICS uses v2.1.20@sha256:... for a readable version plus digest.

Digests verified via crane

crane digest docker.io/checkmarx/kics:v2.1.20
# expect: sha256:3e5a268eb8adda2e5a483c9359ddfc4cd520ab856a7076dc0b1d8784a37e2602
crane digest cgr.dev/chainguard/wolfi-base:latest
# expect: sha256:70750dfde91b4c5804b4df269121253fbdff73a9122925c7acc067aa33f9f55e

Made with Cursor

- Multistage FROM uses checkmarx/kics:v2.1.20@sha256 and
  cgr.dev/chainguard/wolfi-base@sha256 (wolfi has no semver tag; digest only)
- runs.args: use inputs.config_path (matches declared input)

Made-with: Cursor
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.

1 participant