Lion Cipher Lab
Inventory your OWN Azure subscription with Azure Resource Graph and turn it into a list of what to look at first (Azure assessment 2 of 6)
- Cloud Security
- Beginner
- ~45 min
- Free · no account required
Why it matters
You cannot assess what you have not listed. Most real findings begin with a resource nobody remembered: an old storage account, a network security group from a test, a public IP left behind. Azure Resource Graph answers 'what exists' for a whole subscription in one call, with the same read-only identity you built in lab 1. An inventory is also evidence: saved with a date, it is the 'before' picture that lab 5's fixes are measured against.
What you'll learn
- installing the Resource Graph extension for the Azure CLI
- explaining which tables hold which resources
- discovering resource types with distinct type
- ordering before limiting in a query
- saving a read-only inventory as JSON with --first and --subscriptions
- knowing the four ways an inventory can be wrong or incomplete
- summarising a saved inventory with a script
- picking the resources that deserve a closer look
Steps in this lab
- The rule first: read your own subscription as the read-only identity
- Install the extension and run your first queries
- Which table holds what, and how to find a resource type
- Save the inventory as a dated file
- Turn the file into a list of what to open first
- The ways an inventory lies, and what the defender sees
Open the full interactive lab →