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.
Before you begin
Section titled “Before you begin”- Who: an administrator of the realm, in a group holding
RealmOwnerorRealmVieweron the realm or a realm above it (see Delegated administration). Reading needs no more thanRealmViewer. - 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.
How it works
Section titled “How it works”The view starts from the device’s name, its status (active, disconnected, pending or never) and its actions.
Its parts:
| Part | What it shows | In the API |
|---|---|---|
| Summary | The host (operating system, hardware), the sensor’s version and last contact, and its last configuration assessment | GET .../agents/{agent} |
| Configuration | What the sensor runs now, by section: watched files, collected logs, and its modules with their schedules | GET .../agents/{agent}/configuration/{section} |
| Stats | The sensor’s own counters: events generated, sent and waiting, last contact, and each log’s events and drops | GET .../agents/{agent}/stats |
| Events | The device’s alerts over the range | POST .../events?agent={agent} |
| File integrity | The device’s file changes, and every file it monitors with its last scan | POST .../fim/files?agent={agent} |
| Configuration assessment | Its policies, scores and checks | GET .../sca/policies?agent={agent} |
| Vulnerabilities | Empty until vulnerability detection arrives | POST .../vulnerabilities?agent={agent} |
| IT hygiene | Its packages, ports, processes, users and network settings | POST .../inventory/{kind}?agent={agent} |
| MITRE ATT&CK | Its alerts over the ATT&CK matrix | GET .../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.
Set it up
Section titled “Set it up”Nothing to turn on. In the API (Call the API), read one device’s summary and the folders it watches now:
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"Actions on the device
Section titled “Actions on the device”- Restart: restarts the sensor (see Sensor actions).
- Respond: block an address, deny a host or disable a local account (see Active response).
- Upgrade: not working yet (see Sensor actions).
The actions work only while the device is active.
Limits and defaults
Section titled “Limits and defaults”| Limit | Value |
|---|---|
| Default range on time-based parts | The last day |
| Configuration sections | files, logs, modules |
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| Configuration and Stats are empty | The device isn’t connected | Check its status; the other parts still work |
404 for a sensor id | It isn’t one of your realm’s sensors | Find the id in the sensors list |
| Stats show a log with drops | The device produced events faster than it could send them | See Device event delivery |
Audit record
Section titled “Audit record”Reading a device’s view writes no audit record.
Related
Section titled “Related”- Handle an alert on a device: the device view in an investigation.
- Security events: every alert, across devices.
- System inventory: the device’s inventory, in full.