tfsec

Static analysis security scanner for Terraform infrastructure code

brewmacoslinux
Try with needOr install directly
Source

About

Static analysis security scanner for your terraform code

Commands

tfsec

Examples

Scan current directory for security issues in Terraform files$ tfsec .
Scan specific Terraform file with detailed output$ tfsec ./main.tf --format json
Scan directory and exclude specific checks$ tfsec . --exclude AVD-AZU-0001,AVD-AZU-0002