analyze_infrastructure_code
Scan Bicep, Terraform, and ARM code for GDPR compliance gaps—data residency, encryption, access control, and logging.
Instructions
Analyze Bicep/Terraform/ARM code for GDPR compliance issues.
Checks data residency, encryption, access control, logging, retention, and privacy-by-design patterns.
Args: code: The IaC code content file_type: 'bicep', 'terraform', or 'arm' file_path: Optional file path for reporting context: Optional additional context
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": {
"code": "<code>",
"file_type": "<file_type>"
},
"name": "analyze_infrastructure_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| file_type | Yes | ||
| file_path | No | ||
| context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |