> For the complete documentation index, see [llms.txt](https://docs.forestall.io/fsprotect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forestall.io/fsprotect/edges/azure/az_parent_subscription.md).

# AZ\_PARENT\_SUBSCRIPTION

## Summary

|                            |                                                               |
| -------------------------- | ------------------------------------------------------------- |
| **FSProtect ACL Alias**    | AZ\_PARENT\_SUBSCRIPTION                                      |
| **Azure Alias**            | Contains / Member of Subscription                             |
| **Affected Object Types**  | Resource Groups, VMs, Key Vaults, and all other ARM resources |
| **Exploitation Certainty** | Informational                                                 |

## Description

`AZ_PARENT_SUBSCRIPTION` represents that an Azure entity (Resource Group or resource) **belongs to a specific Azure Subscription**. This is a structural/containment edge that shows the top-level organizational hierarchy of Azure resources.

Subscriptions are the primary billing and access control boundary in Azure. Every Resource Group (and therefore every resource) exists within exactly one Subscription.

This edge is important for attack path analysis because:

* **RBAC role assignments inherit downward** — a role assigned at the Subscription level applies to all Resource Groups and resources within that subscription.
* **An attacker with Contributor or Owner at the Subscription level** gains access to **everything** in the subscription.
* **Subscription-level access is the broadest ARM scope** (below Management Groups) and represents maximum blast radius.

The `AZ_PARENT_SUBSCRIPTION` relationship itself is not directly exploitable. It indicates containment for understanding scope of permissions and access control inheritance.

## Identification

### PowerShell (Az Module)

```powershell
Connect-AzAccount

# List all subscriptions accessible to the current identity
Get-AzSubscription |
    Select-Object Name, Id, State, TenantId |
    Format-Table -AutoSize

# List all resource groups in a subscription
Set-AzContext -SubscriptionId "<SubscriptionId>"
Get-AzResourceGroup |
    Select-Object ResourceGroupName, Location, ProvisioningState |
    Format-Table -AutoSize

# List all resources in a subscription
Get-AzResource |
    Select-Object Name, ResourceType, ResourceGroupName, Location |
    Format-Table -AutoSize
```

### Azure GUI

1. Open **Azure Portal** → **Subscriptions**.
2. Select the target Subscription.
3. Go to **Resources** or **Resource groups** to view all contained entities.

## Exploitation

There is no direct exploit for this edge. It represents a containment relationship.

However, understanding subscription membership is critical for:

| Scenario                                | Impact                                                                                |
| --------------------------------------- | ------------------------------------------------------------------------------------- |
| **Compromised subscription-level role** | All resources in the subscription are affected                                        |
| **Blast radius assessment**             | A single compromised identity with subscription Owner/Contributor controls everything |
| **Privilege escalation planning**       | Subscription-level access is the most impactful ARM scope                             |

> **Related Attack Paths:**
>
> * [AZ\_ARM\_OWNER](https://docs.forestall.io/fsprotect/edges/azure/az_arm_owner) — Owner at subscription scope controls everything in the subscription.
> * [AZ\_CONTRIBUTOR](https://docs.forestall.io/fsprotect/edges/azure/az_contributor) — Contributor at subscription scope can manage all resources.
> * [AZ\_PARENT\_RESOURCE\_GROUP](https://docs.forestall.io/fsprotect/edges/azure/az_parent_resource_group) — Resource Groups belong to Subscriptions, resources belong to Resource Groups.
> * [AZ\_PARENT\_MANAGEMENT\_GROUP](https://docs.forestall.io/fsprotect/edges/azure/az_parent_management_group) — Subscriptions themselves can belong to Management Groups.

## References

* <https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-setup-guide/organize-resources>
* <https://learn.microsoft.com/en-us/azure/role-based-access-control/overview>
* <https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/overview>
* <https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/create-subscription>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forestall.io/fsprotect/edges/azure/az_parent_subscription.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
