Scan Terraform for security misconfigurations
scan_terraformIdentify security misconfigurations and compliance failures in Terraform HCL. Scan files or unsaved content locally, then receive severity-ranked findings with line numbers and available fixes.
Instructions
Scan Terraform (HCL) for security misconfigurations and compliance failures. Call this after generating or editing any .tf content, before showing it to the user. Pass files (filename -> HCL content) to scan content that is not saved yet, or paths to scan .tf files and directories on disk. Runs locally; nothing is uploaded. Returns findings ordered by severity, each with a file, line, and whether an exact fix is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||