Skip to main content

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

OptionDescriptionDefault
--format [table|json|yaml]Output formattable
-o, --output PATHSave to file instead of stdoutstdout
--ssh USER@HOST[:PORT]Collect from remote Linux machine via SSH--
--key PATHSSH 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.