Skip to content
Endpoint ManagementMarkdown

System inventory

What every device is and runs (hardware, operating system, packages, ports, processes, users and services), kept current in the realm.

AvailableAPI

The security sensor on each device reads what the machine is and what it runs, and keeps the realm’s copy current. You see it across the whole realm: which operating systems you have, which packages are installed where, which ports are open, and which services and browser extensions are running.

  • Privilege: a realm administrator’s session, with READ on the realm’s configuration, which RealmViewer and RealmOwner hold, in the realm or a realm above it (Who can call).
  • Where: the API.
  • The device’s sensor must be running. It is on every enrolled device unless it was stopped; check with Health and actions.

The sensor reads the inventory when it starts and every hour after, and sends what changed. The realm keeps the latest state of each device, in your realm’s security log.

KindIn the APIWhat it lists
SystemsystemHost name, operating system and its version, kernel and architecture
HardwarehardwareProcessor, memory and serial number
PackagespackagesInstalled packages and their versions
HotfixeshotfixesInstalled operating-system updates, where the system has them
Browser extensionsbrowserExtensionsExtensions installed in the device’s browsers
ProcessesprocessesRunning processes
Interfaces, networks, protocolsinterfaces, networks, protocolsNetwork interfaces, their addresses and settings
PortsportsOpen and listening ports, and what holds them
Users and groupsusers, groupsLocal accounts and groups
ServicesservicesSystem services and their state

Nothing to turn on. Through the API (Call the API), read the realm’s totals (devices by operating system, the most common packages, listening ports, processes, users and services), then a page of one kind; agent narrows either to one device:

Terminal window
curl https://foobar.cvyuh.com/api/v0/endpoint/dar/v1/inventory/summary \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION"
curl "https://foobar.cvyuh.com/api/v0/endpoint/dar/v1/inventory/packages?agent=<sensor id>" \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION" \
-H "Content-Type: application/json" \
-d '{"page": 1, "pageSize": 50}'

A page answers data, totalPages and totalCount. GET .../inventory/<kind>/fields lists the fields a kind filters on. Add ?agent=<sensor id> to any of these for one device; the sensor id is dar.agentId on the device records.

StatusWhenWhat to do
403You don’t administer this realmAsk a realm administrator to grant you RealmViewer
400, no inventory kind '<kind>'The kind isn’t one of those aboveUse a kind from the table
WhatDefaultSet by
First inventory of a new deviceWithin minutes of its sensor starting
RefreshEvery hourThe sensor’s group configuration
HistoryNone: the latest state only
A removed device’s inventoryCleared when its removal deletes its sensor
SymptomCauseFix
A new device has no inventory yetIts sensor hasn’t finished its first readWait a few minutes; check the sensor is running with the status action
A change on the device isn’t shownThe next hourly read hasn’t runWait for it, or restart the sensor (restart-dar), which reads again when it starts
A device’s inventory stopped changingIts sensor stopped, or the device is offlineCheck connected, then Health and actions

Reading the inventory writes nothing to the realm’s audit trail.

  • Read-only. Inventory reads the device; it changes nothing.
  • Latest state, not history. Each kind holds what the device has now, so it has no time range.
  • What and how often are the sensor’s group configuration; see Group configuration.