Repository navigation
feat: IaC — iac-toolbox (Checkov) + iac-security.yml - #21
Merged
Merged
Conversation
- 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)
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.
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-sarifinputs.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 iniac-security.yml.tools.lock;check-tool-updates; docs;docs/tool-evaluations.mdledger refreshed (Semgrep/CodeQL/Checkov adopted, KICS/poutine rejected, Trusys folded, Promptfoo/Cimon → future).Notes
iac-security.ymlSARIF-upload path carries the same verify-todo assast.yml(validate on a real caller post-publish); theiac-toolboximage is validated via the dogfood build + the informational Checkov run on our own Dockerfiles.