device audit collect
Overview
Discovers hardware and software specs from the local machine or a remote host via SSH. Outputs a structured spec in table, JSON, or YAML format. Use this when you need raw spec data without generating a full profile.
Usage
device audit collect [OPTIONS]
Options
| Option | Description | Default |
|---|---|---|
--format [table|json|yaml] | Output format | table |
-o, --output PATH | Save to file instead of stdout | stdout |
--ssh USER@HOST[:PORT] | Collect from remote Linux machine via SSH | -- |
--key PATH | SSH private key file for remote collection | -- |
Prerequisites
- Repo: device-deployments
- Install:
pip install -e .from repo root - Platform: Windows (WMI), macOS (system_profiler), or Linux (via SSH)
Examples
Collect local machine specs (table view)
device audit collect
Export specs as JSON
device audit collect --format json -o specs.json
Collect from a remote Linux host
device audit collect --ssh user@192.168.1.100
Collect with a specific SSH key
device audit collect --ssh user@host --key ~/.ssh/id_ed25519
Output
Displays or saves device identification, CPU, memory, storage, GPU, network adapters, and OS details.