Loading...
Loading...
Run Checkov to scan Infrastructure as Code for misconfigurations. Supports Terraform, CloudFormation, Kubernetes, Helm, ARM, Ansible, and Dockerfiles.
npx skill4agent add vchirrav/product-security-ai-skills iac-scan-checkovpip install checkovcheckov --versioncheckov -d <target-path> --output json > checkov-results.jsoncheckov -d . --framework terraform --output jsoncheckov -f main.tf --output jsoncheckov -d . --check CKV_AWS_18,CKV_AWS_21 --output jsoncheckov -d . --skip-check CKV_AWS_18 --output jsoncheckov -d . --compact --output json| # | Status | Check ID | Resource | File:Line | Finding | Guideline |
|---|--------|----------|----------|-----------|---------|-----------|| Check ID | Framework | Description |
|---|---|---|
| CKV_AWS_18 | Terraform | S3 bucket logging not enabled |
| CKV_AWS_21 | Terraform | S3 versioning not enabled |
| CKV_AWS_24 | Terraform | Security group allows 0.0.0.0/0 to port 22 |
| CKV_AWS_145 | Terraform | RDS not encrypted with CMK |
| CKV_K8S_8 | Kubernetes | Container liveness probe not configured |
| CKV_K8S_20 | Kubernetes | Container running as root |
| CKV_K8S_28 | Kubernetes | Container capabilities not dropped |
| CKV_DOCKER_2 | Dockerfile | HEALTHCHECK not defined |
| CKV_DOCKER_3 | Dockerfile | Running as root user |