Skip to navigation

nico-admin-cli attestation spdm machines list

View as MarkdownOpen in Claude

Hardware commands › attestation › spdm › machines › list

NAME

nico-admin-cli-attestation-spdm-machines-list - List machine attestation statuses

SYNOPSIS

nico-admin-cli attestation spdm machines list [--machine-id]
[--redfish-timeout-secs] [--machine-type] [--passed]
[--failed] [--waived] [--in-progress]
[-h|--help]

DESCRIPTION

List SPDM attestation statuses in machine-ID order.

Without —machine-id, uses every device in the latest retained controller-triggered job for each machine, chosen by descending start time and then descending job ID. External and older jobs are ignored; BMCs are not contacted. Terminal results use the latest operator cancellation target when present. Unfinished devices take precedence over failures, waivers, then all-passed. By default, includes every machine type. —machine-type host selects discovered hosts, excluding predicted hosts; —machine-type dpu selects DPUs. Either can be combined with a status flag. Without a status flag, machines without a controller job show unknown (JSON/YAML: null). Such machines are excluded by every status flag. Only one status flag may be supplied. A partially collected job is in progress even if a device has failed. The CLI fetches all pages automatically. Predictions can change between pages. Prints the prediction warning once to stderr, including when no machines match. With —machine-id, selects current attesters using the resolved profile and BMC inventory, then aggregates each selected device’s latest result across all job origins. Missing results mean in progress. This read-only assessment creates or changes no jobs and prints no prediction warning. The table shows attester selection status; JSON/YAML include the attester_selection_status field. Empty or disabled selections have no verdict (table: not assessed; JSON/YAML: null), with the reason in attester selection status. Partial selection reports the selected subset’s status and warns on stderr. Machine lookup, BMC and timeout failures return errors. —machine-id conflicts with —machine-type and all status flags. Supports table, JSON, and YAML output; CSV is unsupported.

OPTIONS

--machine-id <MACHINE_ID>

Definitively assess this machine using its current attesters

--redfish-timeout-secs <REDFISH_TIMEOUT_SECS>

Timeout in seconds for the entire single-machine assessment; defaults to 30; requires —machine-id

--machine-type <MACHINE_TYPE>

Filter fleet by machine type; omission includes every type; may be combined with a status flag

Possible values:

  • host: Discovered hosts, excluding predicted hosts

  • dpu: DPUs

--passed

Only machines whose latest controller job passed for every device

--failed

Only machines whose latest controller job failed with no unfinished devices

--waived

Only machines whose latest controller job has waivers, with no unfinished or failed devices

--in-progress

Only machines whose latest controller job has unfinished devices, even if another device failed

-h, --help

Print help (see a summary with ‘-h’)

Examples

nico-admin-cli attestation spdm machines list
nico-admin-cli attestation spdm machines list --machine-type host
nico-admin-cli attestation spdm machines list --machine-type dpu
nico-admin-cli attestation spdm machines list --passed
nico-admin-cli attestation spdm machines list --machine-type host --failed
nico-admin-cli attestation spdm machines list --waived
nico-admin-cli attestation spdm machines list --in-progress
nico-admin-cli attestation spdm machines list --machine-id fm100hsag07peffp850l14kvmhrqjf9h6jslilfahaknhvb6sq786c0g3jg --redfish-timeout-secs 60

Related: Hardware commands · CLI reference index