Infrastructure as Code
Scanner
Trivy scans Infrastructure as Code (IaC) files for
Supported configurations
| Config type | File patterns |
|---|---|
| Kubernetes | *.yml, *.yaml, *.json |
| Docker | Dockerfile, Containerfile |
| Terraform | *.tf, *.tf.json, *.tfvars |
| Terraform Plan | tfplan, *.tfplan, *.tfplan.json, *.tf.json |
| CloudFormation | *.yml, *.yaml, *.json |
| Azure ARM Template | *.json |
| Helm | *.yaml, *.tpl, *.tar.gz, etc. |