talira

Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages

open sourceApache-2.0self-hostablefree

Checkov is a static analysis tool for infrastructure as code that finds security and compliance misconfigurations before deployment, with over 1,000 built-in policies for AWS, Azure and Google Cloud. It scans Terraform and plan files, OpenTofu, CloudFormation, AWS SAM, Kubernetes manifests, Helm charts, Kustomize, Dockerfiles, Serverless, Bicep, ARM and Ansible, plus CI workflows such as GitHub Actions and GitLab CI, using graph-based checks that follow relationships between resources. It also scans open source packages and images for CVEs and detects secrets, and reports as CLI output, JSON, JUnit XML, SARIF, CSV or CycloneDX. Prisma Cloud by Palo Alto Networks builds and maintains it under Apache-2.0, and it powers Prisma Cloud Application Security.

Ways to install

Problems it solves

  • catch an S3 bucket without encryption or a public security group in our Terraform before it's applied
  • fail the pull request when infrastructure code breaks our security baseline
  • scan Kubernetes manifests and Helm charts for containers running as root or without resource limits
  • check CloudFormation and ARM templates against CIS benchmarks without deploying anything
  • find hardcoded AWS keys and other secrets committed in infrastructure files
  • write my own security rules for cloud resources in Python or YAML
  • check Terraform plan output so variables and modules are resolved before scanning
  • upload IaC misconfiguration results to GitHub code scanning as SARIF
  • audit our GitHub Actions and GitLab CI workflow files for insecure settings
  • suppress an accepted risk inline in the code with a reason so the scan stops flagging it
  • list CVEs in the open source packages and container images our infrastructure repo uses

Features

  • over 1,000 built-in policies for AWS, Azure and Google Cloud
  • scans Terraform, Terraform plan and JSON, OpenTofu, CloudFormation, AWS SAM, Kubernetes, Helm, Kustomize, Dockerfile, Serverless, Bicep, ARM and Ansible
  • scans Argo Workflows, Azure Pipelines, Bitbucket Pipelines, CircleCI, GitHub Actions and GitLab CI files
  • graph-based, context-aware policies
  • custom policies in Python (attribute) or YAML (attribute and composite)
  • software composition analysis of packages and images for CVEs
  • secret detection with regular expressions, keywords and entropy
  • inline suppressions and CLI skip lists
  • output as CLI, JSON, JUnit XML, CSV, SARIF, CycloneDX and GitHub Markdown
  • pip, Homebrew and Docker installs; GitHub Action, pre-commit hooks, VS Code and JetBrains extensions

Limitations

  • Doesn't run on Python older than 3.10: it needs Python 3.10 to 3.13, or the Docker image3

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Checkov does.

  1. KubeLinter Static analysis for Kubernetes YAML files and Helm charts
  2. KICS Keeping Infrastructure as Code Secure
  3. tfsec Security scanner for your Terraform code
  4. Trivy Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
  5. TFLint A Pluggable Terraform Linter
  6. Conftest Write tests against structured configuration data using the Open Policy Agent Rego query language

Compare Checkov with the top 3