Datto RMM Audit Data
Overview
Audit data in Datto RMM provides detailed hardware and software inventory for managed devices. The agent periodically collects this information and reports it to the platform. This skill covers accessing audit data, understanding its structure, and common audit workflows.
Anti-triggers
- Software observed running rather than software installed —
RocketCyber reports application telemetry from its own sensor; use
rocketcyber-apps.
- Whether the device is reachable right now — audit data is a
periodic snapshot and goes stale; use datto-rmm-devices.
- Inventory as documentation of record — use
itglue-configurations.
MCP Tools
| Tool | Tier | Purpose |
|------|------|---------|
| datto_get_device_audit | admin | Hardware, software and system audit for one device |
| datto_get_device_patches / datto_get_site_patches | admin (unclassified) | Patch posture per device or per site |
Tiers are Conduit's classification. REST examples later in this skill show what the tools call underneath.
Key Concepts
Audit Categories
| Category | Description | Examples |
|----------|-------------|----------|
| Hardware | Physical components | CPU, RAM, disks, motherboard |
| Software | Installed applications | Programs, versions, publishers |
| Network | Network configuration | Interfaces, IPs, MACs |
| Operating System | OS details | Version, build, architecture |
| ESXi | VMware hypervisor info | VMs, datastores, hosts |
| Printer | Network printers | Name, model, status |
Audit Freshness
Audit data is collected periodically:
- Standard devices: Every 24 hours
- Software changes: Real-time detection
- On-demand: Triggered by agent commands
Field Reference
Audit responses are grouped into hardware, operatingSystem, network, plus
the ESXi-specific blocks. The most-used fields:
| Block | Key fields |
|-------|-----------|
| hardware.processor | name, cores, logicalProcessors, speed |
| hardware.memory | totalRam, availableRam, slots[] (bytes, not MB) |
| hardware.disks[] | name, size, freeSpace, type |
| operatingSystem | name, version, architecture, installDate, lastBootTime |
| network.interfaces[] | name, macAddress, ipv4, dhcpEnabled |
| root | lastAuditDate (epoch ms) |
See references/fields.md for the complete field reference
(hardware, software, network, and ESXi host audits).
API Patterns
| Purpose | Endpoint |
|---------|----------|
| Full device audit | GET /api/v2/device/{deviceUid}/audit |
| Software inventory | GET /api/v2/device/{deviceUid}/audit/software |
| ESXi host audit | GET /api/v2/device/{deviceUid}/audit/esxi |
| Printer audit | GET /api/v2/device/{deviceUid}/audit/printers |
All audit endpoints take the device UID, not the device ID, and all
timestamps (lastAuditDate, lastScan, lastBootTime) are epoch
milliseconds.
See references/api.md for the full request/response
examples for each endpoint.
Workflows
Reference implementations for the common audit workflows — software compliance
check, hardware inventory report, find-devices-with-specific-software, disk
space analysis, and ESXi capacity report — are in
Error Handling
| Error | Status | Cause | Resolution |
|-------|--------|-------|------------|
| Device not found | 404 | Invalid deviceUid | Verify device exists |
| Audit not available | 404 | No audit data yet | Wait for agent collection |
| Device offline | - | Agent not reporting | Check device connectivity |
A 404 from an audit endpoint is ambiguous: it means either the device UID is
wrong or the agent has never completed an audit. Check the device exists before
concluding the audit is missing.
See references/errors.md for the audit freshness
validation helper.
Best Practices
- Check audit freshness - Verify data is recent before reporting
- Handle missing data - Not all devices have complete audits
- Use software inventory for compliance - Track required applications
- Monitor disk space trends - Use audit data for capacity planning
- Track hardware lifecycle - Use warranty and spec data
- ESXi-specific queries - Use dedicated ESXi endpoints
- Filter software results - Exclude Windows updates if needed
- Document hardware standards - Use audit to verify standards
Related Skills
- Datto RMM Devices - Device management
- Datto RMM Alerts - Disk/hardware alerts
- Datto RMM Variables - Store audit metadata
- Datto RMM API Patterns - Authentication and pagination