scan_with_checkov
Scan Infrastructure as Code files with Checkov to detect security misconfigurations and compliance violations across Terraform, CloudFormation, Kubernetes, Docker, and more.
Instructions
Scan Infrastructure as Code using Checkov for security issues.
This tool analyzes Infrastructure as Code files for security misconfigurations and compliance violations using Bridgecrew's Checkov scanner.
Supported formats:
terraform: Terraform configuration files
cloudformation: AWS CloudFormation templates
kubernetes: Kubernetes manifests
dockerfile: Docker files
arm: Azure Resource Manager templates
bicep: Azure Bicep files
serverless: Serverless framework files
helm: Helm charts
github_actions: GitHub Actions workflows
gitlab_ci: GitLab CI configurations
ansible: Ansible playbooks
Args: code: The IaC code content to analyze format_type: The type of IaC format being scanned
Returns: A dictionary with scan results including found security issues
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Infrastructure as Code content to scan | |
| format_type | Yes | IaC format type (terraform, cloudformation, kubernetes, dockerfile, etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |