The Resource Graph path may install and load additional Azure CLI extension code
Source references: 2The reference declares `az extension add --name resource-graph` as a prerequisite. This is not merely a read-only cloud query: it downloads and persistently installs an extension whose code can run with the user's permissions. The instructions do not require separate consent, a pinned version, or source verification.
The environment gains new local code and dependencies. If the extension source, version, or distribution chain does not meet the user's trust policy, it could affect local files, Azure credentials visible to the process, or later CLI behavior. The evidence does not show that this extension is itself malicious.
The reference names installation of the `resource-graph` extension as a prerequisite for these queries. If the agent executes it, the local Azure CLI environment is persistently changed and extension code may later load under the user's privileges; the text requires no separate consent, pinned version, or source verification. This does not prove installation occurred, but it creates a plausible supply-chain and environment-change risk. Users can prohibit automatic installs and require an approved pinned version installed in isolation after source verification.
Or construct directly:```bashaz graph query -q "<KQL>" --query "data[].{name:name, type:type}" -o table```> ⚠️ **Prerequisite:** `az extension add --name resource-graph`Show 1 other places
Azure Resource Graph (ARG) enables fast, cross-subscription resource querying using KQL via `az graph query`. Use it for bulk resource discovery and relationship mapping.