scan_infrastructure
Scan Azure read-only to rebuild a graph of resources, resource groups, RBAC assignments, and access settings; optionally enrich firewall and network rules for complete verdicts.
Instructions
Scan Azure (read-only) and rebuild the graph: every resource, resource groups, RBAC role assignments, and access settings.
Uses DefaultAzureCredential (az login, managed identity, env vars). Needs Reader. subscription_ids: limit the scan; omit to scan every enabled subscription visible. enrich: also read child settings Resource Graph lacks (SQL/PostgreSQL/MySQL/Redis firewall rules, App Service access restrictions, Service Bus/Event Hubs network rules). Without it those verdicts are 'unknown'.
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": "scan_infrastructure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrich | No | ||
| subscription_ids | No |