finalize mdm commands part 1: support fleetctl get hosts --mdm and --mdm-pending (#10796)

This commit is contained in:
Martin Angers
2023-03-29 08:30:49 -04:00
committed by GitHub
parent 6d686d188f
commit 0e2c9bb873
10 changed files with 348 additions and 16 deletions
@@ -0,0 +1,2 @@
* Added the `--mdm` and `--mdm-pending` flags to the `fleetctl get hosts` command to list hosts enrolled in Fleet MDM and pending enrollment in Fleet MDM, respectively.
* Added support for the "enrolled" value for the `mdm_enrollment_status` filter and the new `mdm_name` filter for the "List hosts", "Count hosts" and "List hosts in label" endpoints.