---
name: "checkov-iac-compliance-scanner"
description: "Enforce security and compliance policies across Terraform, CloudFormation, Helm, and Dockerfiles."
metadata:
  author: "Bridgecrew"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "run checkov scan"
  - "write custom checkov policy"
  - "checkov framework terraform"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Checkov Static Code Analysis for Cloud & Kubernetes

Scans multi-framework IaC using Bridgecrew Checkov: evaluating 1,000+ built-in security policies (CIS, NIST, HIPAA), writing custom Python/YAML checks, and integrating into pre-commit and CI/CD pipelines.

## When to Invoke
Invoke this skill whenever you need to:
- run checkov scan
- write custom checkov policy
- checkov framework terraform

## Execution SOP & Rules
1. Run scan: checkov -d . --framework terraform,kubernetes,dockerfile.
2. Filter by severity: checkov -d . --severity HIGH,CRITICAL.
3. Write custom policy in custom_checks.yaml specifying resource type and evaluation conditions.
4. Review terminal output highlighting exact lines violating security benchmarks with remediation guidance.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
