v3.6.1
Date: 2026-08-04
Previous release: v3.6.0
Summary
Adds focused CSV export via --include-inventory-keys and --include-tag-keys
flags on export report.
Highlights
- Filtered inventory columns: Pass
--include-inventory-keys thing_name,sn_device
to export only the named[inventory]attributes as columns. All other scopes
([identity],[tags], etc.) are unaffected. - Filtered tag columns: Pass
--include-tag-keys name,customerto export only
the named[tags]attributes as columns. - Both flags are optional and independent. When omitted, all keys in the
respective scope are exported (existing default behaviour unchanged). - Missing keys produce empty cells, not misaligned rows — alignment is always
correct regardless of how many devices have a given attribute.
Example Usage
# Export only specific inventory attributes
mender-cli export report --include-inventory-keys thing_name,sn_device,site_id
# Export only specific tags
mender-cli export report --include-tag-keys name,customer
# Focused export combining both filters
mender-cli export report --include-inventory-keys thing_name,site_id --include-tag-keys name,customer -o focused.csvUpgrading
- No breaking changes. Both new flags are purely additive and optional.