Skip to content

Add IaC scanning via Checkov integration#11

Merged
EdgarPsda merged 1 commit intomainfrom
v0.6.0/iac-checkov
Mar 30, 2026
Merged

Add IaC scanning via Checkov integration#11
EdgarPsda merged 1 commit intomainfrom
v0.6.0/iac-checkov

Conversation

@EdgarPsda
Copy link
Copy Markdown
Owner

  • Add cli/scanners/checkov.go: runs checkov -d . --output json --compact
  • Parse both single-object and array JSON output (multi-framework scans)
  • Map check IDs to severity: CKV_AWS/AZURE/GCP/CKV2 -> HIGH, CKV_K8S -> MEDIUM
  • Honour explicit severity field from newer Checkov versions
  • Add checkov: false to ToolsConfig (opt-in, requires pip install checkov)
  • Add fail_on.checkov threshold to config (default -1, disabled)
  • Wire EnableCheckov into orchestrator and scan command --tool=checkov
  • Graceful error when checkov binary not installed
  • 5 unit tests covering JSON parsing, severity mapping, and summaries

- Add cli/scanners/checkov.go: runs checkov -d . --output json --compact
- Parse both single-object and array JSON output (multi-framework scans)
- Map check IDs to severity: CKV_AWS/AZURE/GCP/CKV2 -> HIGH, CKV_K8S -> MEDIUM
- Honour explicit severity field from newer Checkov versions
- Add checkov: false to ToolsConfig (opt-in, requires pip install checkov)
- Add fail_on.checkov threshold to config (default -1, disabled)
- Wire EnableCheckov into orchestrator and scan command --tool=checkov
- Graceful error when checkov binary not installed
- 5 unit tests covering JSON parsing, severity mapping, and summaries
@github-actions
Copy link
Copy Markdown

🔐 DevSecOps Kit Security Summary

  • Gitleaks: 0 leak(s)
  • Trivy FS:
    • CRITICAL: 0
    • HIGH: 0
    • MEDIUM: 0
    • LOW: 0
  • Semgrep: 0 finding(s)

Status:PASS

@EdgarPsda EdgarPsda merged commit 7620d0a into main Mar 30, 2026
1 check passed
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