Skip to content

feat: IaC — iac-toolbox (Checkov) + iac-security.yml - #21

Merged
garymike merged 2 commits into
mainfrom
feat/iac-toolbox
Jul 8, 2026
Merged

garymike merged 2 commits into
mainfrom
feat/iac-toolbox

Conversation

@garymike

@garymike garymike commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Phase 8 — IaC (closes issue #2 IaC; KICS rejected)

Changes

  • toolbox/iac/Dockerfile → iac-toolbox = base + Checkov 3.3.7 (pip).
  • iac-security.yml (reusable): Checkov via the pinned image → SARIF to code scanning; path/framework/fail-on-findings/upload-sarif inputs.
  • Fix sast.yml: SARIF now written via host stdout-redirect instead of a mounted-dir --output (which could fail on the container-uid write perms) — same robust pattern in iac-security.yml.
  • Matrix + dogfood (build + self-test + informational Checkov on our Dockerfiles); tools.lock; check-tool-updates; docs; docs/tool-evaluations.md ledger refreshed (Semgrep/CodeQL/Checkov adopted, KICS/poutine rejected, Trusys folded, Promptfoo/Cimon → future).

Notes

  • KICS rejected as redundant with Checkov (documented in the ledger).
  • The iac-security.yml SARIF-upload path carries the same verify-todo as sast.yml (validate on a real caller post-publish); the iac-toolbox image is validated via the dogfood build + the informational Checkov run on our own Dockerfiles.

garymike added 2 commits July 8, 2026 03:23
- toolbox/iac/Dockerfile: security-toolbox-base + Checkov 3.3.7 (pip)
- iac-security.yml: reusable Checkov IaC scan via the pinned image; SARIF -> code scanning
- fix sast.yml: SARIF now written via host stdout-redirect (was a mounted-dir write that
  could fail on container-uid perms); same robust pattern used in iac-security.yml
- build-toolbox matrix + dogfood build/self-test/informational checkov; tools.lock +
  check-tool-updates (checkov); docs + tool-evaluations ledger refreshed
- closes issue #2 IaC; KICS rejected (redundant with Checkov)
…ndings)

The new iac-toolbox (Checkov) flagged our own repo:
- CKV2_GHA_1: add top-level `permissions: contents: read` to the reusable workflows
  (security-audit also gets administration: read for its repo-settings reads)
- .checkov.yaml: document-and-skip two non-applicable checks — CKV_DOCKER_2 (HEALTHCHECK
  on CLI images) and CKV_DOCKER_7 (${BASE} is digest-pinned in CI)
@garymike
garymike merged commit 885dd34 into main Jul 8, 2026
4 checks passed
@garymike
garymike deleted the feat/iac-toolbox branch July 8, 2026 08:35
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