From 63fdcca81443a1e6598adb77db6035bdcc1b12bd Mon Sep 17 00:00:00 2001 From: dantecatalfamo Date: Mon, 2 Dec 2024 16:45:15 -0500 Subject: [PATCH 1/2] Stop hiding Windows MDM WSTEP config flags --- server/config/config.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/server/config/config.go b/server/config/config.go index 821c8547fc90..bdfe0898dcf9 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -1316,19 +1316,6 @@ func (man Manager) addConfigs() { "calendar.periodicity", 0, "How much time to wait between processing calendar integration.", ) - - // Hide Microsoft/Windows MDM flags as we don't want it to be discoverable for users for now - betaMDMFlags := []string{ - "mdm.windows_wstep_identity_cert", - "mdm.windows_wstep_identity_key", - "mdm.windows_wstep_identity_cert_bytes", - "mdm.windows_wstep_identity_key_bytes", - } - for _, mdmFlag := range betaMDMFlags { - if flag := man.command.PersistentFlags().Lookup(flagNameFromConfigKey(mdmFlag)); flag != nil { - flag.Hidden = true - } - } } func (man Manager) hideConfig(name string) { From 4b66eda308c0d4a1443eec48aae049b80c243a5e Mon Sep 17 00:00:00 2001 From: dantecatalfamo Date: Mon, 2 Dec 2024 17:15:51 -0500 Subject: [PATCH 2/2] Add changes/ --- changes/23462-show-windows-mdm-wstep-options | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/23462-show-windows-mdm-wstep-options diff --git a/changes/23462-show-windows-mdm-wstep-options b/changes/23462-show-windows-mdm-wstep-options new file mode 100644 index 000000000000..8df6b9313946 --- /dev/null +++ b/changes/23462-show-windows-mdm-wstep-options @@ -0,0 +1 @@ +- Display Windows MDM WSTEP flags in `fleet --help`.