AgentSources
Azure
Every resource in your subscriptions, from Azure Resource Graph.
node flowshape-agent.mjs --key <key> --azure
node flowshape-agent.mjs --key <key> --azure --subscription <subscription id>The agent uses the Azure CLI, signed in as you or a service principal with the Reader role. It runs one Resource Graph query (the first 1,000 resources):
az graph query -q "Resources | project id, name, type, resourceGroup, subscriptionId, location, sku, kind, properties" --first 1000 -o jsonCheck access with:
az login && az account showAzure on Windows
On Windows, az is a batch file, which the agent can't run without a shell. Run the query
yourself and give the agent the file:
az graph query -q "Resources | project id, name, type, resourceGroup, subscriptionId, location, sku, kind, properties" --first 1000 -o json > azure.json
node flowshape-agent.mjs --key <key> --file azure.json