run_trivy
Scan Terraform code with Trivy to detect misconfigurations and security issues before deployment. Provide the project path and optional CLI arguments or timeout.
Instructions
Run trivy config scanning against Terraform code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_trivy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Terraform project path to scan. Must not start with '-'. | . |
| extraArgs | No | Extra positional CLI arguments. Values starting with '-' are rejected. | |
| timeoutMs | No | Optional command timeout in milliseconds. |