cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis
Claude Code and agent skill by cloud-byte-consulting/catalyst
- community
Checking that the SKILL.md file is still in the repository.
Designs Checkov-based static analysis for Terraform/OpenTofu IaC and Dockerfile/container hardening in Catalyst. Covers directory and plan scans, framework flags, SARIF/CI gates, custom Python checks, suppressions, and how Checkov SCA for images relates to Prisma Cloud. Use when configuring Checkov, writing `.checkov.yaml`, extending `infrastructure/policies/checkov/`, or pairing IaC + Dockerfile + image CVE strategy with Trivy/Grype.
Install
npx vskill@latest install cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysisSKILL.md
The same SKILL.md was published earlier as cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis.
Checkov — cloud IaC and container static analysis (Catalyst)
Upstream source (local clone)
Clone bridgecrewio/checkov next to skills for deep reference (gitignored):
Use that tree for policy class names, runner behavior, and doc paths under docs/. Official docs: checkov.io.
Role in Catalyst
- Cloud / IaC: Terraform under
infrastructure/— graph-aware checks, optional plan JSON scan for effective configuration. - Image build static analysis: Dockerfile policies (
CKV_DOCKER_*) — non-root, no:latest, healthcheck, dangerousEXPOSE, etc. Aligns withAGENTS.md/@container-hardening. - Image CVEs (runtime packages in layers): Checkov’s SCA path for packages/images is documented around Prisma Cloud API keys. For keyless CI, keep Trivy/Grype (see
@devsecops-integration) as the primary image CVE gate; use Checkov Dockerfile + IaC where it does not need a vendor token.
Commands (design defaults)
Terraform / OpenTofu (HCL on disk)
Terraform plan (JSON)
Plan-only findings often report line 0 without jq or enrichment; prefer jq + --repo-root-for-plan-enrichment for PR-friendly output.
Dockerfile only
CI outputs
--output sarif— upload to GitHub Code Scanning or similar.--output cli+--compact— short human logs in Actions.
Gradual adoption
--soft-fail— report failures without non-zero exit (use sparingly; prefer baselines).--create-baseline .checkov.baseline/--baseline .checkov.baseline— suppress known backlog without inlineskipsprawl.
Scope control
--check CKV_AWS_123,CKV_AWS_456— allow list.--skip-check CKV_AWS_*— deny patterns (avoid blanket skips that hide new checks).
Custom policies (repo)
Catalyst already ships Python custom checks under infrastructure/policies/checkov/ (e.g. wildcard IAM, explicit S3 encryption). When adding checks:
- Follow Checkov’s BaseCheck / resource-type pattern from upstream
checkov/terraform/checks/. - Add Checkov + native `.tftest.hcl` coverage where the rule maps to module outputs (see
@terraform-native-tests).
Suppressions
Prefer fix the code (AGENTS.md). When a finding is accepted:
- Inline comment suppressions per Suppressing and Skipping Policies — tie each to an ADR or ticket id in the comment body.
.checkov.yaml (repo root)
Keep one canonical config: frameworks list, skip paths (**/samples/**, **/.terraform/**), severity or check include/exclude, external-modules download policy. Pin Checkov version in CI (pip or Docker bridgecrew/checkov:<tag>) so rules do not drift silently.
Pairing with other gates
| Concern | Checkov | Complement | |
|---|---|---|---|
| Terraform misconfig | ✅ primary in ladder | OPA/Conftest (infrastructure/policies/opa/), terraform test | |
| Dockerfile hygiene | ✅ dockerfile framework | @container-hardening | |
| Image CVE / OS packages | Partial (SCA often needs Prisma) | Trivy, Grype in CI |
Further reading
- reference.md — links into the local clone and Catalyst paths.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/checkov-cloud-image-static-analysis/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis)