terrascan_iac_scan
Scan infrastructure as code for security misconfigurations and policy violations using Terrascan, with filters for scan type, severity, and output format.
Instructions
Execute Terrascan for infrastructure as code security scanning.
Args: scan_type: Type of scan (all, terraform, k8s, etc.) iac_dir: Infrastructure as code directory policy_type: Policy type to use output_format: Output format (json, yaml, xml) severity: Severity filter (high, medium, low) additional_args: Additional Terrascan arguments
Returns: Infrastructure as code security scanning results
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": "terrascan_iac_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iac_dir | No | . | |
| severity | No | ||
| scan_type | No | all | |
| policy_type | No | ||
| output_format | No | json | |
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |