cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis

Claude Code and agent skill by cloud-byte-consulting/catalyst

Trust tier 3
  • community
Source check pending

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-analysis

SKILL.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):

bash
git clone --depth 1 https://github.com/bridgecrewio/checkov local/research/checkov

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, dangerous EXPOSE, etc. Aligns with AGENTS.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)

bash
checkov --directory infrastructure --framework terraform \
--download-external-modules false \
--compact

Terraform plan (JSON)

bash
terraform -chdir=infrastructure/environments/dev plan -out=tfplan
terraform -chdir=infrastructure/environments/dev show -json tfplan | jq '.' > tfplan.json
checkov --file tfplan.json \
--repo-root-for-plan-enrichment "$(pwd)/infrastructure"

Plan-only findings often report line 0 without jq or enrichment; prefer jq + --repo-root-for-plan-enrichment for PR-friendly output.

Dockerfile only

bash
checkov --directory services --framework dockerfile --compact

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 inline skip sprawl.

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:

.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

ConcernCheckovComplement
Terraform misconfig✅ primary in ladderOPA/Conftest (infrastructure/policies/opa/), terraform test
Dockerfile hygiene✅ dockerfile framework@container-hardening
Image CVE / OS packagesPartial (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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis/badge)](https://verified-skill.com/skills/cloud-byte-consulting/catalyst/checkov-cloud-image-static-analysis)

Something wrong with this skill or its page? Tell us.