Skip to content
Detection & ResponseMarkdown

Device view

One device's sensor on one page (its host, status, running configuration and counters) beside its alerts, file changes, assessment results, inventory and ATT&CK techniques, with the actions you can take on it.

AvailableAPI

When an alert points at one device, you want everything about that device in one place: what it is, whether it’s reporting, what it’s been raising, what changed on it, and how well it’s hardened. The device view gives you that, and the actions to take on it.

  • Who: an administrator of the realm, in a group holding RealmOwner or RealmViewer on the realm or a realm above it (see Delegated administration). Reading needs no more than RealmViewer.
  • Where: the API; each part of the view has its own call.
  • First: the device is enrolled and its sensor has connected at least once.

The view starts from the device’s name, its status (active, disconnected, pending or never) and its actions. Its parts:

PartWhat it showsIn the API
SummaryThe host (operating system, hardware), the sensor’s version and last contact, and its last configuration assessmentGET .../agents/{agent}
ConfigurationWhat the sensor runs now, by section: watched files, collected logs, and its modules with their schedulesGET .../agents/{agent}/configuration/{section}
StatsThe sensor’s own counters: events generated, sent and waiting, last contact, and each log’s events and dropsGET .../agents/{agent}/stats
EventsThe device’s alerts over the rangePOST .../events?agent={agent}
File integrityThe device’s file changes, and every file it monitors with its last scanPOST .../fim/files?agent={agent}
Configuration assessmentIts policies, scores and checksGET .../sca/policies?agent={agent}
VulnerabilitiesEmpty until vulnerability detection arrivesPOST .../vulnerabilities?agent={agent}
IT hygieneIts packages, ports, processes, users and network settingsPOST .../inventory/{kind}?agent={agent}
MITRE ATT&CKIts alerts over the ATT&CK matrixGET .../mitre/matrix?agent={agent}

Each ... is https://foobar.cvyuh.com/api/v0/endpoint/dar/v1; {agent} is the device’s sensor id.

Configuration and Stats are asked of the device itself, so a device that isn’t connected answers { "connected": false } there. The other parts read what the realm already holds, so they work while it’s offline.

Nothing to turn on. In the API (Call the API), read one device’s summary and the folders it watches now:

Terminal window
curl https://foobar.cvyuh.com/api/v0/endpoint/dar/v1/agents/<sensor id> \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION"
curl https://foobar.cvyuh.com/api/v0/endpoint/dar/v1/agents/<sensor id>/configuration/files \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION"

The actions work only while the device is active.

LimitValue
Default range on time-based partsThe last day
Configuration sectionsfiles, logs, modules
SymptomCauseFix
Configuration and Stats are emptyThe device isn’t connectedCheck its status; the other parts still work
404 for a sensor idIt isn’t one of your realm’s sensorsFind the id in the sensors list
Stats show a log with dropsThe device produced events faster than it could send themSee Device event delivery

Reading a device’s view writes no audit record.