azure_enumerate_rbac_assignments
Enumerate Azure RBAC assignments to uncover who has access to what, helping identify privileged accounts and potential privilege escalation paths.
Instructions
Enumerate Role-Based Access Control (RBAC) assignments to identify who has access to what. Returns: principal name and type (User/ServicePrincipal/Group), role definition (Owner/Contributor/Reader/Custom), scope (Subscription/ResourceGroup/Resource), principal ID. Useful for identifying privileged accounts, service principals with excessive permissions, and potential privilege escalation paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | Azure subscription ID | |
| scope | No | Optional: Specific scope to analyze (e.g., /subscriptions/{id}/resourceGroups/{rg}). If not provided, analyzes entire subscription. | |
| format | No | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable) |