azure_scan_managed_disks
Identify security misconfigurations in Azure Managed Disks including encryption type, public network access, and orphaned disks to prevent data exfiltration.
Instructions
Scan Azure Managed Disks for security misconfigurations. Checks: encryption type (platform-managed vs customer-managed key), public network access enabled (allows arbitrary download), orphaned disks (unattached — data exposure risk), disk state, OS vs data disk classification. CRITICAL: publicNetworkAccess=Enabled on unattached disks is a direct data exfiltration path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | Azure subscription ID | |
| resourceGroup | No | Optional: Filter by specific resource group | |
| orphanedOnly | No | Only return unattached (orphaned) disks. Default: false | |
| format | No | Output format: 'markdown' (default) or 'json' |