ssh_audit_baseline
Audit a machine's setup in one SSH round trip, reporting sshd, firewall, updates, services, docker, ports, and disk with CRITICAL, WARNING, or OK status.
Instructions
Reports how a machine is set up: sshd, firewall, pending updates, failed services, docker, listening ports and disk, each section marked CRITICAL, WARNING or OK. Reads only, in one round trip instead of a dozen commands. For load and health at this moment rather than settings, use ssh_snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Trim the long sections. false = whole, much larger answer. Default: true | |
| include | No | system, disk, mem, net, ssh, services, docker, firewall, updates. Default: all | |
| profile | Yes | Machine name. | |
| include_sudo_sections | No | Run the sections that need root as root: sshd -T for ssh, ufw and iptables rules for firewall. Without it those sections name what they could not read instead of guessing. Default: false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | ||
| net | No | ||
| ssh | No | ||
| disk | No | ||
| load | No | ||
| docker | No | ||
| kernel | No | ||
| legend | No | What the words in this answer mean. A key names the field before the value — "state=limited", "jobs[].state=lost" — and only the values this answer actually used are listed. | |
| memory | No | ||
| uptime | No | ||
| updates | No | ||
| date_utc | No | ||
| firewall | No | ||
| hostname | No | ||
| services | No | ||
| red_flags | No | ||
| unavailable | No |