Azure Resource Inventory: Public Access, Key Vault Expiry and Unattached Disks
A CIS scan checks settings; an inventory shows what you own. How to read Azure resources by public network access, TLS, Key Vault expiry and unattached disks.
A CIS Azure benchmark tells you which settings should be configured a certain way. It does not tell you which resources you have, which ones were forgotten, or how they are connected. In a subscription that has existed for a few years, the second question is often the harder one: the exposure is not a wrong setting on a resource you know about, but a resource nobody remembers owning.
Configuration checks and resource inventory answer different questions
A benchmark scan works through controls and reports pass or fail. An inventory works through objects and reports what each one looks like. They overlap, because many failing controls are a property of a specific resource, but they start from opposite ends. The control asks "is this setting correct?". The inventory asks "what is out there, and which of it looks wrong?".
For Azure the second approach matters because resources accumulate across subscriptions and resource groups, created for projects that ended, tests that were never cleaned up, and migrations that left the old copy running.
What the Azure inventory covers
ConfigCobra's Inventory & Insights module builds one inventory of the resources across the Azure subscriptions in scope. The categories are:
- Compute
- Storage
- Networking
- Databases
- Key Vault
- Identity
- Monitoring
Each resource is shown with its security properties, so you can read the posture of a resource without opening it in the portal. The Azure connector is read-only: it uses an Entra app registration with a certificate and no client secret, the Reader role on the subscriptions you choose (plus Key Vault Reader for Key Vault checks), and a read-only Microsoft Graph policy permission. It never writes to your Azure.
Properties worth looking at first
The inventory exposes a number of security properties per resource. These are the ones that tend to repay a first look.
Public network access
Storage accounts, databases and other services can be reachable from the public internet or restricted to private networks. Public network access is the first property to sort by, because it tells you which resources are exposed to the internet at all. A resource that is public and also forgotten is the combination to find first.
Minimum TLS version
Services that accept connections have a minimum TLS version setting. Resources left at an older minimum are easy to spot when the property is visible across every resource at once, instead of being checked one resource at a time.
Key Vault secrets and keys without expiry
A secret or key with no expiry date never prompts anyone to rotate it. Seeing every Key Vault item without an expiry in one place turns a vague hygiene goal into a finite list. Note that reading Key Vault configuration is the reason the Key Vault Reader role is part of the connector's access.
Over-permissive SQL firewall
SQL firewall rules that allow broad address ranges widen who can attempt a connection to a database. The inventory surfaces this as a property of the database resource, next to its public network access setting, so the two can be read together.
Unattached disks
A disk that is not attached to any virtual machine is usually a leftover from a machine that was deleted or replaced. It is not an attack path in itself, but it still holds whatever data was on the machine. Listing unattached disks gives you a concrete set of resources to either attach, archive or retire.
From a resource to the context around it
A list of resources with properties says what each one looks like. It does not say what depends on it. The inventory's relation graph shows how objects connect, including the dependencies between Azure resources. Before you tighten network access on a storage account or retire a disk, the graph shows what else is attached, so the change is sized before you make it.
Findings from your CIS assessment are linked to the inventory objects they concern. For Azure, every finding points at the exact resource, so a failing control and the resource behind it sit in one place rather than in a report and a separate portal. The inventory also supports CSV export when you want to take a view into a review of your own.
How this fits with the CIS Azure benchmarks
ConfigCobra scans Azure against four CIS Microsoft Azure benchmarks in one scan: Foundations v6.0.0 (127 controls), Compute Services v2.0.0 (99), Database Services v2.0.0 (49) and Storage Services v2.0.0 (64), 339 controls in total. The Azure benchmark breakdown lists them. Because findings are linked to the inventory objects they concern, the benchmark results and the resource view complement each other.
A workable order is to run the assessment, then use the inventory to understand the resources behind the failing controls and to find the ones no control pointed you at.
Look before you change
The inventory and the findings tell you where to look. Acting on them is a step you take in your own subscriptions: ConfigCobra stays read-only and does not change anything in Azure. When a fix could affect running workloads, remediation impact analysis lists the resources and identities a fix would affect, with an impact level, before you apply it.
See your own subscriptions
The quickest way to judge whether the inventory is useful is to look at your own resources. Start the 14-day free trial: it gives full access to every available module and every control.
ConfigCobra checks Microsoft 365, Azure, Google Cloud and AWS against the CIS benchmarks, read-only. 14-day free trial with full access.