terrascan

Detect compliance and security violations in Infrastructure as Code

brewmacoslinux
Try with needOr install directly
Source

About

Detect compliance and security violations across Infrastructure as Code

Commands

terrascan

Examples

Scan a Terraform directory for security issues$ terrascan scan -d /path/to/terraform
Scan and output results in JSON format$ terrascan scan -d /path/to/terraform -o json
Scan with specific IaC type (Kubernetes, CloudFormation, etc)$ terrascan scan -d /path/to/k8s -t k8s