Skip to content

v3.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 21:38
· 3 commits to master since this release

v3.5.0

Date: 2026-07-27
Previous release: v3.4.0

Summary

Adds a new export report command for exporting comprehensive device reports
in CSV format, including inventory attributes, group membership, and deployment
history.

Highlights

Device Report Export

  • mender-cli export report: Export all devices with their complete
    inventory, group assignment, and latest deployment status to CSV.
  • Dynamic column discovery: Automatically includes all inventory attributes
    found across the fleet as columns. Devices missing an attribute have an empty
    cell — no schema definition required.
  • Pipe-delimited CSV: Uses | as the field delimiter to avoid conflicts
    with comma-containing inventory values (e.g. update_modules).
  • Fixed columns: ID, LastSeen, Group, LatestDeploymentName,
    LatestDeploymentArtifact, LatestDeploymentStatus,
    LatestDeploymentCreated, LatestDeploymentFinished.
  • Inventory columns: All attributes are included, sorted alphabetically and
    prefixed with their scope (e.g. [inventory]artifact_name, [identity]mac,
    [tags]environment).
  • Filtering: Supports --group to export only devices in a specific group.
  • Output: Writes to stdout by default; use -o/--output to write to a file.

Example Usage

# Export all devices to stdout
mender-cli export report

# Export to a file
mender-cli export report -o devices.csv

# Export only production devices
mender-cli export report --group production -o prod-devices.csv

Notes

  • Large fleets: The export fetches inventory, groups, and deployment history
    for every device. For fleets with thousands of devices, this may take several
    minutes.
  • Deployment history: Only the most recent deployment per device is
    included. Devices without any deployment history have empty deployment
    columns.

Upgrading

  • No breaking changes. The new export command tree is purely additive.