Scan a Terraform plan for security issues
scan_terraform_planScan a Terraform plan JSON to identify security issues, receive severity ratings, suggested fixes, and corpus citations for remediation.
Instructions
Run the LangGraph scan agent against a Terraform plan JSON (output of terraform show -json). Returns structured findings with severity, suggested fixes and citations into the corpus. Defaults to LLM_PROVIDER=stub if no API key is configured.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan_json": "<plan_json>"
},
"name": "scan_terraform_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findings | No | ||
| llm_model | No | ||
| embedding_model | No | ||
| terraform_version | No | ||
| resources_analyzed | No | ||
| plan_format_version | No |