OPNsense
Uses the same SSH mechanism, credentials, and host key verification as
the SSH-based OS identification
family, but runs opnsense-version rather than reading a file.
targets: - id: opnsense-host product: opnsense address: host.example.com credentials: linux-host-sshWhy a command, not a file
Section titled “Why a command, not a file”OPNsense sits on a FreeBSD base with no /etc/os-release at all, and
its actual version is split across several component files under
/usr/local/opnsense/version/ (base, kernel, core, pkgs) — no single
obvious identity file. opnsense-version is OPNsense’s own wrapper that
reads the right one and prints the whole thing in one line. Verified
live against a real OPNsense 26.7 instance, reached via
vmactions/opnsense-vm: "OPNsense 26.7 (amd64)".
Recorded fields
Section titled “Recorded fields”version— parsed fromopnsense-version’s outputextra.hostKeyVerified
Lifecycle resolver
Section titled “Lifecycle resolver”endoflife:opnsense.