Audit

From wyre-technology/msp-claude-plugins · View interactive version

Audit is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Datto RMM audit data structure covering hardware inventory (CPU, RAM, disks, motherboard, BIOS), software inventory, network interfaces, and ESXi/printer audits, along with audit collection cadence and data freshness semantics.

How to use this skill

Skill file

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

RocketCyber reports application telemetry from its own sensor; use

rocketcyber-apps.

periodic snapshot and goes stale; use datto-rmm-devices.

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:

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

references/examples.md.

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

  1. Check audit freshness - Verify data is recent before reporting
  2. Handle missing data - Not all devices have complete audits
  3. Use software inventory for compliance - Track required applications
  4. Monitor disk space trends - Use audit data for capacity planning
  5. Track hardware lifecycle - Use warranty and spec data
  6. ESXi-specific queries - Use dedicated ESXi endpoints
  7. Filter software results - Exclude Windows updates if needed
  8. Document hardware standards - Use audit to verify standards

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.