Asset Inventory

Build and maintain an accurate inventory of hardware, software, cloud resources and owners, the foundation of every other control.

Beginner · about 4 hours · difficulty 2/5

Learn first: Threats, Vulnerabilities and Risk

You cannot protect what you do not know exists. Asset inventory is the first control in the CIS Critical Security Controls for a reason: patching, monitoring and incident response all depend on it.

What to track

  • Hardware: laptops, servers, network gear, phones, IoT and OT devices.
  • Software: installed applications and versions, including browser extensions.
  • Cloud resources: accounts, subscriptions, VMs, storage, serverless functions, managed databases.
  • External attack surface: domains, subdomains, public IPs and exposed services.
  • For each asset: owner, business purpose, data sensitivity, location and lifecycle state.

How inventories are built

  • Pull from sources you already have: MDM, EDR, directory services, DHCP logs, cloud APIs, CMDBs.
  • Run authorised discovery scans on your own networks to catch unmanaged devices.
  • Reconcile sources regularly; an asset seen in DHCP but not in EDR is a gap worth investigating.

Criticality

Tag assets by importance (crown jewels, business critical, standard). Prioritisation later depends on this.

Pitfalls

  • A spreadsheet updated once a year. Inventories must be automated or they rot.
  • Shadow IT and forgotten cloud accounts that nobody claims.
  • No owner field, so findings have nobody to fix them.

Good enough to move on: you can combine two data sources into an inventory with owners and criticality, and explain how you would spot an unmanaged device.

Key concepts

  • Hardware and software inventory
  • Cloud resource inventory
  • External attack surface
  • Owners and criticality
  • Reconciling data sources
  • CMDB basics

Mini project

Write a Python script that merges a CSV export from one tool (for example a DHCP lease list) with another (an EDR or MDM device list) and reports devices present in one but missing from the other.

Check yourself

Why is the owner field one of the most important attributes in an asset inventory?

Free resources