Skip to content

metalcloud-cli server firmware generate-audit

Generate firmware upgrade audit for servers

Generate firmware upgrade audit for servers.

This command generates a comprehensive firmware upgrade audit report for servers using a JSON configuration file or piped JSON data. The audit helps identify which servers need firmware updates and provides detailed upgrade recommendations.

Required Flags: —config-source Source of the audit configuration. Can be ‘pipe’ or path to a JSON file

Examples:

Generate audit using JSON configuration file

Section titled “Generate audit using JSON configuration file”

metalcloud-cli server firmware generate-audit —config-source ./audit-config.json

Generate audit using piped JSON configuration

Section titled “Generate audit using piped JSON configuration”

echo ’{“servers”: [123, 456]}’ | metalcloud-cli server firmware generate-audit —config-source pipe

metalcloud-cli server firmware generate-audit [flags]
--config-source string Source of the audit configuration. Can be 'pipe' or path to a JSON file.
-h, --help help for generate-audit
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”