From 8af0ef7bd1cd4123466d3a5acf09e91959873f14 Mon Sep 17 00:00:00 2001 From: Victor Vrantchan Date: Sat, 13 Oct 2018 13:54:43 -0400 Subject: [PATCH] Add support for the ApplicationConfiguration setting (#521) The ApplicationConfiguration setting is implemented by storing the values for Configuration as a plist, and then marshaling it into the settings command as a dictionary. --- CHANGELOG.md | 1 + mdm/mdm/command.go | 2 + mdm/mdm/internal/mdmproto/mdm.pb.go | 775 ++++++++++++------ mdm/mdm/internal/mdmproto/mdm.proto | 6 + mdm/mdm/marshal_plist.go | 18 +- mdm/mdm/marshal_proto.go | 5 + mdm/mdm/mdm_command_test.go | 139 +++- mdm/mdm/unmarshal_proto.go | 4 + .../settings_application_configuration | 33 + 9 files changed, 674 insertions(+), 309 deletions(-) create mode 100755 tools/api/commands/settings_application_configuration diff --git a/CHANGELOG.md b/CHANGELOG.md index b3be747d..7725af75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Add API endpoint to retrieve APNS certificate (#503) * Remove deprecated `-apns` flags from server startup (#528) * Move API calls to list endpoints from HTTP GET to HTTP POST (#522, #523, #524, #525, #526) +* Add support for the ApplicationConfiguration Setting (#521) ## [v1.4.0](https://github.com/micromdm/micromdm/compare/v1.3.1...v1.4.0) September 6 2018 diff --git a/mdm/mdm/command.go b/mdm/mdm/command.go index b77999ed..60e4d087 100644 --- a/mdm/mdm/command.go +++ b/mdm/mdm/command.go @@ -218,6 +218,8 @@ type Setting struct { MDMOptions map[string]interface{} `plist:",omitempty" json:"mdm_options,omitempty"` PasscodeLockGracePeriod *int `plist:",omitempty" json:"passcode_lock_grace_period,omitempty"` MaximumResidentUsers *int `plist:",omitempty" json:"maximum_resident_users,omitempty"` + Configuration map[string]interface{} `plist:",omitempty" json:"-"` + ConfigurationData []byte `plist:"-" json:"configuration"` // used to build the dictionary } type ManagedApplicationConfiguration struct { diff --git a/mdm/mdm/internal/mdmproto/mdm.pb.go b/mdm/mdm/internal/mdmproto/mdm.pb.go index d8d08e34..81ea0907 100644 --- a/mdm/mdm/internal/mdmproto/mdm.pb.go +++ b/mdm/mdm/internal/mdmproto/mdm.pb.go @@ -51,6 +51,7 @@ DataRoamingSetting BluetoothSetting ApplicationAttributesSetting + ApplicationConfigurationSetting ApplicationAttributes DeviceNameSetting HostnameSetting @@ -122,7 +123,7 @@ var ResultPayload_Status_value = map[string]int32{ func (x ResultPayload_Status) String() string { return proto.EnumName(ResultPayload_Status_name, int32(x)) } -func (ResultPayload_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptorMdm, []int{64, 0} } +func (ResultPayload_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptorMdm, []int{65, 0} } type CommandPayload struct { CommandUuid string `protobuf:"bytes,1,opt,name=command_uuid,json=commandUuid,proto3" json:"command_uuid,omitempty"` @@ -2189,20 +2190,21 @@ func (m *Settings) GetSettings() []*Setting { } type Setting struct { - Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` - DeviceName *DeviceNameSetting `protobuf:"bytes,2,opt,name=device_name,json=deviceName" json:"device_name,omitempty"` - Hostname *HostnameSetting `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"` - VoiceRoaming *VoiceRoamingSetting `protobuf:"bytes,4,opt,name=voice_roaming,json=voiceRoaming" json:"voice_roaming,omitempty"` - PersonalHotspot *PersonalHotspotSetting `protobuf:"bytes,5,opt,name=personal_hotspot,json=personalHotspot" json:"personal_hotspot,omitempty"` - Wallpaper *WallpaperSetting `protobuf:"bytes,6,opt,name=wallpaper" json:"wallpaper,omitempty"` - DataRoaming *DataRoamingSetting `protobuf:"bytes,7,opt,name=data_roaming,json=dataRoaming" json:"data_roaming,omitempty"` - Bluetooth *BluetoothSetting `protobuf:"bytes,8,opt,name=bluetooth" json:"bluetooth,omitempty"` - ApplicationAttributes *ApplicationAttributesSetting `protobuf:"bytes,9,opt,name=application_attributes,json=applicationAttributes" json:"application_attributes,omitempty"` - MdmOptions *MDMOptionsSetting `protobuf:"bytes,10,opt,name=mdm_options,json=mdmOptions" json:"mdm_options,omitempty"` - PasscodeLockGracePeriod *PasscodeLockGracePeriodSetting `protobuf:"bytes,11,opt,name=passcode_lock_grace_period,json=passcodeLockGracePeriod" json:"passcode_lock_grace_period,omitempty"` - MaximumResidentUsers *MaximumResidentUsersSetting `protobuf:"bytes,12,opt,name=maximum_resident_users,json=maximumResidentUsers" json:"maximum_resident_users,omitempty"` - DiagnosticSubmission *DiagnosticSubmissionSetting `protobuf:"bytes,13,opt,name=diagnostic_submission,json=diagnosticSubmission" json:"diagnostic_submission,omitempty"` - AppAnalytics *AppAnalyticsSetting `protobuf:"bytes,14,opt,name=app_analytics,json=appAnalytics" json:"app_analytics,omitempty"` + Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` + DeviceName *DeviceNameSetting `protobuf:"bytes,2,opt,name=device_name,json=deviceName" json:"device_name,omitempty"` + Hostname *HostnameSetting `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"` + VoiceRoaming *VoiceRoamingSetting `protobuf:"bytes,4,opt,name=voice_roaming,json=voiceRoaming" json:"voice_roaming,omitempty"` + PersonalHotspot *PersonalHotspotSetting `protobuf:"bytes,5,opt,name=personal_hotspot,json=personalHotspot" json:"personal_hotspot,omitempty"` + Wallpaper *WallpaperSetting `protobuf:"bytes,6,opt,name=wallpaper" json:"wallpaper,omitempty"` + DataRoaming *DataRoamingSetting `protobuf:"bytes,7,opt,name=data_roaming,json=dataRoaming" json:"data_roaming,omitempty"` + Bluetooth *BluetoothSetting `protobuf:"bytes,8,opt,name=bluetooth" json:"bluetooth,omitempty"` + ApplicationAttributes *ApplicationAttributesSetting `protobuf:"bytes,9,opt,name=application_attributes,json=applicationAttributes" json:"application_attributes,omitempty"` + MdmOptions *MDMOptionsSetting `protobuf:"bytes,10,opt,name=mdm_options,json=mdmOptions" json:"mdm_options,omitempty"` + PasscodeLockGracePeriod *PasscodeLockGracePeriodSetting `protobuf:"bytes,11,opt,name=passcode_lock_grace_period,json=passcodeLockGracePeriod" json:"passcode_lock_grace_period,omitempty"` + MaximumResidentUsers *MaximumResidentUsersSetting `protobuf:"bytes,12,opt,name=maximum_resident_users,json=maximumResidentUsers" json:"maximum_resident_users,omitempty"` + DiagnosticSubmission *DiagnosticSubmissionSetting `protobuf:"bytes,13,opt,name=diagnostic_submission,json=diagnosticSubmission" json:"diagnostic_submission,omitempty"` + AppAnalytics *AppAnalyticsSetting `protobuf:"bytes,14,opt,name=app_analytics,json=appAnalytics" json:"app_analytics,omitempty"` + ApplicationConfiguration *ApplicationConfigurationSetting `protobuf:"bytes,15,opt,name=application_configuration,json=applicationConfiguration" json:"application_configuration,omitempty"` } func (m *Setting) Reset() { *m = Setting{} } @@ -2308,6 +2310,13 @@ func (m *Setting) GetAppAnalytics() *AppAnalyticsSetting { return nil } +func (m *Setting) GetApplicationConfiguration() *ApplicationConfigurationSetting { + if m != nil { + return m.ApplicationConfiguration + } + return nil +} + type VoiceRoamingSetting struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` } @@ -2420,6 +2429,32 @@ func (m *ApplicationAttributesSetting) GetApplicationAttributes() *ApplicationAt return nil } +type ApplicationConfigurationSetting struct { + Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` + ConfigurationDictionaryData []byte `protobuf:"bytes,2,opt,name=configuration_dictionary_data,json=configurationDictionaryData,proto3" json:"configuration_dictionary_data,omitempty"` +} + +func (m *ApplicationConfigurationSetting) Reset() { *m = ApplicationConfigurationSetting{} } +func (m *ApplicationConfigurationSetting) String() string { return proto.CompactTextString(m) } +func (*ApplicationConfigurationSetting) ProtoMessage() {} +func (*ApplicationConfigurationSetting) Descriptor() ([]byte, []int) { + return fileDescriptorMdm, []int{43} +} + +func (m *ApplicationConfigurationSetting) GetIdentifier() string { + if m != nil { + return m.Identifier + } + return "" +} + +func (m *ApplicationConfigurationSetting) GetConfigurationDictionaryData() []byte { + if m != nil { + return m.ConfigurationDictionaryData + } + return nil +} + type ApplicationAttributes struct { VpnUuid string `protobuf:"bytes,1,opt,name=vpn_uuid,json=vpnUuid,proto3" json:"vpn_uuid,omitempty"` } @@ -2427,7 +2462,7 @@ type ApplicationAttributes struct { func (m *ApplicationAttributes) Reset() { *m = ApplicationAttributes{} } func (m *ApplicationAttributes) String() string { return proto.CompactTextString(m) } func (*ApplicationAttributes) ProtoMessage() {} -func (*ApplicationAttributes) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{43} } +func (*ApplicationAttributes) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{44} } func (m *ApplicationAttributes) GetVpnUuid() string { if m != nil { @@ -2443,7 +2478,7 @@ type DeviceNameSetting struct { func (m *DeviceNameSetting) Reset() { *m = DeviceNameSetting{} } func (m *DeviceNameSetting) String() string { return proto.CompactTextString(m) } func (*DeviceNameSetting) ProtoMessage() {} -func (*DeviceNameSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{44} } +func (*DeviceNameSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{45} } func (m *DeviceNameSetting) GetDeviceName() string { if m != nil { @@ -2459,7 +2494,7 @@ type HostnameSetting struct { func (m *HostnameSetting) Reset() { *m = HostnameSetting{} } func (m *HostnameSetting) String() string { return proto.CompactTextString(m) } func (*HostnameSetting) ProtoMessage() {} -func (*HostnameSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{45} } +func (*HostnameSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{46} } func (m *HostnameSetting) GetHostname() string { if m != nil { @@ -2475,7 +2510,7 @@ type MDMOptionsSetting struct { func (m *MDMOptionsSetting) Reset() { *m = MDMOptionsSetting{} } func (m *MDMOptionsSetting) String() string { return proto.CompactTextString(m) } func (*MDMOptionsSetting) ProtoMessage() {} -func (*MDMOptionsSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{46} } +func (*MDMOptionsSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{47} } func (m *MDMOptionsSetting) GetMdmOptions() *MDMOptions { if m != nil { @@ -2491,7 +2526,7 @@ type MDMOptions struct { func (m *MDMOptions) Reset() { *m = MDMOptions{} } func (m *MDMOptions) String() string { return proto.CompactTextString(m) } func (*MDMOptions) ProtoMessage() {} -func (*MDMOptions) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{47} } +func (*MDMOptions) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{48} } func (m *MDMOptions) GetActivationLockAllowedWhileSupervised() bool { if m != nil { @@ -2508,7 +2543,7 @@ func (m *PasscodeLockGracePeriodSetting) Reset() { *m = PasscodeLockGrac func (m *PasscodeLockGracePeriodSetting) String() string { return proto.CompactTextString(m) } func (*PasscodeLockGracePeriodSetting) ProtoMessage() {} func (*PasscodeLockGracePeriodSetting) Descriptor() ([]byte, []int) { - return fileDescriptorMdm, []int{48} + return fileDescriptorMdm, []int{49} } func (m *PasscodeLockGracePeriodSetting) GetPasscodeLockGracePeriod() int64 { @@ -2525,7 +2560,7 @@ type MaximumResidentUsersSetting struct { func (m *MaximumResidentUsersSetting) Reset() { *m = MaximumResidentUsersSetting{} } func (m *MaximumResidentUsersSetting) String() string { return proto.CompactTextString(m) } func (*MaximumResidentUsersSetting) ProtoMessage() {} -func (*MaximumResidentUsersSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{49} } +func (*MaximumResidentUsersSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{50} } func (m *MaximumResidentUsersSetting) GetMaximumResidentUsers() int64 { if m != nil { @@ -2541,7 +2576,7 @@ type DiagnosticSubmissionSetting struct { func (m *DiagnosticSubmissionSetting) Reset() { *m = DiagnosticSubmissionSetting{} } func (m *DiagnosticSubmissionSetting) String() string { return proto.CompactTextString(m) } func (*DiagnosticSubmissionSetting) ProtoMessage() {} -func (*DiagnosticSubmissionSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{50} } +func (*DiagnosticSubmissionSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{51} } func (m *DiagnosticSubmissionSetting) GetEnabled() bool { if m != nil { @@ -2557,7 +2592,7 @@ type AppAnalyticsSetting struct { func (m *AppAnalyticsSetting) Reset() { *m = AppAnalyticsSetting{} } func (m *AppAnalyticsSetting) String() string { return proto.CompactTextString(m) } func (*AppAnalyticsSetting) ProtoMessage() {} -func (*AppAnalyticsSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{51} } +func (*AppAnalyticsSetting) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{52} } func (m *AppAnalyticsSetting) GetEnabled() bool { if m != nil { @@ -2574,7 +2609,7 @@ func (m *ManagedApplicationConfiguration) Reset() { *m = ManagedApplicat func (m *ManagedApplicationConfiguration) String() string { return proto.CompactTextString(m) } func (*ManagedApplicationConfiguration) ProtoMessage() {} func (*ManagedApplicationConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptorMdm, []int{52} + return fileDescriptorMdm, []int{53} } func (m *ManagedApplicationConfiguration) GetIdentifiers() []string { @@ -2591,7 +2626,7 @@ type ManagedApplicationAttributes struct { func (m *ManagedApplicationAttributes) Reset() { *m = ManagedApplicationAttributes{} } func (m *ManagedApplicationAttributes) String() string { return proto.CompactTextString(m) } func (*ManagedApplicationAttributes) ProtoMessage() {} -func (*ManagedApplicationAttributes) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{53} } +func (*ManagedApplicationAttributes) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{54} } func (m *ManagedApplicationAttributes) GetIdentifiers() []string { if m != nil { @@ -2608,7 +2643,7 @@ type ManagedApplicationFeedback struct { func (m *ManagedApplicationFeedback) Reset() { *m = ManagedApplicationFeedback{} } func (m *ManagedApplicationFeedback) String() string { return proto.CompactTextString(m) } func (*ManagedApplicationFeedback) ProtoMessage() {} -func (*ManagedApplicationFeedback) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{54} } +func (*ManagedApplicationFeedback) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{55} } func (m *ManagedApplicationFeedback) GetIdentifiers() []string { if m != nil { @@ -2633,7 +2668,7 @@ type SetFirmwarePassword struct { func (m *SetFirmwarePassword) Reset() { *m = SetFirmwarePassword{} } func (m *SetFirmwarePassword) String() string { return proto.CompactTextString(m) } func (*SetFirmwarePassword) ProtoMessage() {} -func (*SetFirmwarePassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{55} } +func (*SetFirmwarePassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{56} } func (m *SetFirmwarePassword) GetCurrentPassword() string { if m != nil { @@ -2663,7 +2698,7 @@ type VerifyFirmwarePassword struct { func (m *VerifyFirmwarePassword) Reset() { *m = VerifyFirmwarePassword{} } func (m *VerifyFirmwarePassword) String() string { return proto.CompactTextString(m) } func (*VerifyFirmwarePassword) ProtoMessage() {} -func (*VerifyFirmwarePassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{56} } +func (*VerifyFirmwarePassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{57} } func (m *VerifyFirmwarePassword) GetPassword() string { if m != nil { @@ -2680,7 +2715,7 @@ type SetAutoAdminPassword struct { func (m *SetAutoAdminPassword) Reset() { *m = SetAutoAdminPassword{} } func (m *SetAutoAdminPassword) String() string { return proto.CompactTextString(m) } func (*SetAutoAdminPassword) ProtoMessage() {} -func (*SetAutoAdminPassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{57} } +func (*SetAutoAdminPassword) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{58} } func (m *SetAutoAdminPassword) GetGuid() string { if m != nil { @@ -2703,7 +2738,7 @@ type ScheduleOSUpdate struct { func (m *ScheduleOSUpdate) Reset() { *m = ScheduleOSUpdate{} } func (m *ScheduleOSUpdate) String() string { return proto.CompactTextString(m) } func (*ScheduleOSUpdate) ProtoMessage() {} -func (*ScheduleOSUpdate) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{58} } +func (*ScheduleOSUpdate) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{59} } func (m *ScheduleOSUpdate) GetUpdates() []*Update { if m != nil { @@ -2721,7 +2756,7 @@ type Update struct { func (m *Update) Reset() { *m = Update{} } func (m *Update) String() string { return proto.CompactTextString(m) } func (*Update) ProtoMessage() {} -func (*Update) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{59} } +func (*Update) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{60} } func (m *Update) GetProductKey() string { if m != nil { @@ -2751,7 +2786,7 @@ type ScheduleOSUpdateScan struct { func (m *ScheduleOSUpdateScan) Reset() { *m = ScheduleOSUpdateScan{} } func (m *ScheduleOSUpdateScan) String() string { return proto.CompactTextString(m) } func (*ScheduleOSUpdateScan) ProtoMessage() {} -func (*ScheduleOSUpdateScan) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{60} } +func (*ScheduleOSUpdateScan) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{61} } func (m *ScheduleOSUpdateScan) GetForce() bool { if m != nil { @@ -2767,7 +2802,7 @@ type ActiveNSExtensions struct { func (m *ActiveNSExtensions) Reset() { *m = ActiveNSExtensions{} } func (m *ActiveNSExtensions) String() string { return proto.CompactTextString(m) } func (*ActiveNSExtensions) ProtoMessage() {} -func (*ActiveNSExtensions) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{61} } +func (*ActiveNSExtensions) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{62} } func (m *ActiveNSExtensions) GetFilterExtensionPoints() []string { if m != nil { @@ -2786,7 +2821,7 @@ type RotateFileVaultKey struct { func (m *RotateFileVaultKey) Reset() { *m = RotateFileVaultKey{} } func (m *RotateFileVaultKey) String() string { return proto.CompactTextString(m) } func (*RotateFileVaultKey) ProtoMessage() {} -func (*RotateFileVaultKey) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{62} } +func (*RotateFileVaultKey) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{63} } func (m *RotateFileVaultKey) GetKeyType() string { if m != nil { @@ -2825,7 +2860,7 @@ type FileVaultUnlock struct { func (m *FileVaultUnlock) Reset() { *m = FileVaultUnlock{} } func (m *FileVaultUnlock) String() string { return proto.CompactTextString(m) } func (*FileVaultUnlock) ProtoMessage() {} -func (*FileVaultUnlock) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{63} } +func (*FileVaultUnlock) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{64} } func (m *FileVaultUnlock) GetPassword() string { if m != nil { @@ -2857,7 +2892,7 @@ type ResultPayload struct { func (m *ResultPayload) Reset() { *m = ResultPayload{} } func (m *ResultPayload) String() string { return proto.CompactTextString(m) } func (*ResultPayload) ProtoMessage() {} -func (*ResultPayload) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{64} } +func (*ResultPayload) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{65} } func (m *ResultPayload) GetUdid() string { if m != nil { @@ -2893,7 +2928,7 @@ type ErrorChain struct { func (m *ErrorChain) Reset() { *m = ErrorChain{} } func (m *ErrorChain) String() string { return proto.CompactTextString(m) } func (*ErrorChain) ProtoMessage() {} -func (*ErrorChain) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{65} } +func (*ErrorChain) Descriptor() ([]byte, []int) { return fileDescriptorMdm, []int{66} } func (m *ErrorChain) GetLocalizedDescription() string { if m != nil { @@ -2967,6 +3002,7 @@ func init() { proto.RegisterType((*DataRoamingSetting)(nil), "mdmproto.DataRoamingSetting") proto.RegisterType((*BluetoothSetting)(nil), "mdmproto.BluetoothSetting") proto.RegisterType((*ApplicationAttributesSetting)(nil), "mdmproto.ApplicationAttributesSetting") + proto.RegisterType((*ApplicationConfigurationSetting)(nil), "mdmproto.ApplicationConfigurationSetting") proto.RegisterType((*ApplicationAttributes)(nil), "mdmproto.ApplicationAttributes") proto.RegisterType((*DeviceNameSetting)(nil), "mdmproto.DeviceNameSetting") proto.RegisterType((*HostnameSetting)(nil), "mdmproto.HostnameSetting") @@ -4923,6 +4959,16 @@ func (m *Setting) MarshalTo(dAtA []byte) (int, error) { } i += n55 } + if m.ApplicationConfiguration != nil { + dAtA[i] = 0x7a + i++ + i = encodeVarintMdm(dAtA, i, uint64(m.ApplicationConfiguration.Size())) + n56, err := m.ApplicationConfiguration.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n56 + } return i, nil } @@ -5092,11 +5138,41 @@ func (m *ApplicationAttributesSetting) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMdm(dAtA, i, uint64(m.ApplicationAttributes.Size())) - n56, err := m.ApplicationAttributes.MarshalTo(dAtA[i:]) + n57, err := m.ApplicationAttributes.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n56 + i += n57 + } + return i, nil +} + +func (m *ApplicationConfigurationSetting) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ApplicationConfigurationSetting) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.Identifier) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintMdm(dAtA, i, uint64(len(m.Identifier))) + i += copy(dAtA[i:], m.Identifier) + } + if len(m.ConfigurationDictionaryData) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintMdm(dAtA, i, uint64(len(m.ConfigurationDictionaryData))) + i += copy(dAtA[i:], m.ConfigurationDictionaryData) } return i, nil } @@ -5192,11 +5268,11 @@ func (m *MDMOptionsSetting) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMdm(dAtA, i, uint64(m.MdmOptions.Size())) - n57, err := m.MdmOptions.MarshalTo(dAtA[i:]) + n58, err := m.MdmOptions.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n57 + i += n58 } return i, nil } @@ -5686,11 +5762,11 @@ func (m *RotateFileVaultKey) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMdm(dAtA, i, uint64(m.FilevaultUnlock.Size())) - n58, err := m.FilevaultUnlock.MarshalTo(dAtA[i:]) + n59, err := m.FilevaultUnlock.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n58 + i += n59 } if len(m.NewCertificate) > 0 { dAtA[i] = 0x1a @@ -6743,6 +6819,10 @@ func (m *Setting) Size() (n int) { l = m.AppAnalytics.Size() n += 1 + l + sovMdm(uint64(l)) } + if m.ApplicationConfiguration != nil { + l = m.ApplicationConfiguration.Size() + n += 1 + l + sovMdm(uint64(l)) + } return n } @@ -6809,6 +6889,20 @@ func (m *ApplicationAttributesSetting) Size() (n int) { return n } +func (m *ApplicationConfigurationSetting) Size() (n int) { + var l int + _ = l + l = len(m.Identifier) + if l > 0 { + n += 1 + l + sovMdm(uint64(l)) + } + l = len(m.ConfigurationDictionaryData) + if l > 0 { + n += 1 + l + sovMdm(uint64(l)) + } + return n +} + func (m *ApplicationAttributes) Size() (n int) { var l int _ = l @@ -12660,6 +12754,39 @@ func (m *Setting) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ApplicationConfiguration", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMdm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMdm + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ApplicationConfiguration == nil { + m.ApplicationConfiguration = &ApplicationConfigurationSetting{} + } + if err := m.ApplicationConfiguration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMdm(dAtA[iNdEx:]) @@ -13173,6 +13300,116 @@ func (m *ApplicationAttributesSetting) Unmarshal(dAtA []byte) error { } return nil } +func (m *ApplicationConfigurationSetting) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMdm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ApplicationConfigurationSetting: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ApplicationConfigurationSetting: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identifier", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMdm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMdm + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identifier = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigurationDictionaryData", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMdm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthMdm + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConfigurationDictionaryData = append(m.ConfigurationDictionaryData[:0], dAtA[iNdEx:postIndex]...) + if m.ConfigurationDictionaryData == nil { + m.ConfigurationDictionaryData = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMdm(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMdm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ApplicationAttributes) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -15498,228 +15735,232 @@ var ( func init() { proto.RegisterFile("mdm.proto", fileDescriptorMdm) } var fileDescriptorMdm = []byte{ - // 3566 bytes of a gzipped FileDescriptorProto + // 3620 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0x4f, 0x73, 0x1b, 0x47, - 0x76, 0x27, 0x48, 0x89, 0x04, 0x1e, 0x40, 0x12, 0x6c, 0xfe, 0x11, 0x44, 0xca, 0xa4, 0x34, 0xb2, - 0xd7, 0xb2, 0xd7, 0x96, 0x12, 0xd9, 0xda, 0x75, 0x36, 0x76, 0x62, 0x8a, 0x94, 0x96, 0x5c, 0x8b, - 0x22, 0x6b, 0x20, 0xc9, 0x55, 0xf1, 0x6e, 0x66, 0x87, 0x33, 0x4d, 0xa0, 0x8b, 0xf3, 0x6f, 0xbb, - 0x7b, 0x40, 0xc1, 0xe7, 0x54, 0xe5, 0x9c, 0x4b, 0x2a, 0xc9, 0x47, 0xc8, 0x37, 0x48, 0x3e, 0x41, - 0x8e, 0x5b, 0xb9, 0xe5, 0x90, 0xaa, 0x2d, 0xe7, 0x53, 0xe4, 0x96, 0xea, 0x7f, 0x33, 0x8d, 0xc1, - 0x10, 0xd2, 0x25, 0x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f9, 0x6c, 0x88, 0xb6, - 0x60, 0x71, 0x48, 0xc2, 0x10, 0x27, 0x3a, 0xe4, 0xea, 0x96, 0x43, 0xa1, 0x63, 0x67, 0x6f, 0xde, - 0x9b, 0x95, 0xec, 0x40, 0x4b, 0xa6, 0x73, 0xac, 0x33, 0xd4, 0x94, 0x02, 0x71, 0x6f, 0x7c, 0x00, - 0xa0, 0x94, 0xb2, 0x66, 0xa1, 0xf8, 0x90, 0x82, 0xbf, 0x1a, 0x67, 0xd8, 0x19, 0x43, 0xdb, 0xca, - 0xf9, 0x54, 0xd0, 0x8d, 0x0a, 0xba, 0x6e, 0x46, 0xf3, 0x75, 0x33, 0x12, 0xcb, 0x20, 0x1c, 0x9d, - 0x71, 0x71, 0xb5, 0x93, 0x50, 0x8f, 0xdb, 0x29, 0x85, 0xc7, 0xa1, 0xf3, 0x17, 0xd0, 0x34, 0x69, - 0x23, 0xf4, 0xb9, 0x95, 0x5c, 0x52, 0xc1, 0x7f, 0x6d, 0x2a, 0xb9, 0x54, 0x66, 0x96, 0x9c, 0xff, - 0x5a, 0x82, 0x25, 0x2d, 0x15, 0x11, 0x4f, 0x84, 0x3e, 0x13, 0xd3, 0xc5, 0x6f, 0xf4, 0x75, 0x91, - 0x7d, 0x2f, 0x76, 0xa9, 0x26, 0x89, 0x2f, 0x76, 0xcc, 0xd8, 0xd6, 0x29, 0x78, 0xb9, 0x89, 0x4f, - 0xa0, 0x39, 0x4c, 0x19, 0x97, 0x5d, 0x17, 0xaa, 0xb9, 0xbf, 0x23, 0xad, 0x29, 0x26, 0x65, 0xa0, - 0xe8, 0x29, 0x2c, 0x8f, 0x52, 0x31, 0x26, 0x4d, 0xfd, 0x98, 0x24, 0x03, 0x5d, 0x66, 0xb1, 0x72, - 0x32, 0x6f, 0x84, 0xda, 0x55, 0x5a, 0xd3, 0xbf, 0x33, 0xb2, 0x84, 0xe8, 0x3b, 0xe8, 0x8a, 0x35, - 0x4a, 0x13, 0x3f, 0xf2, 0x86,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 0xc2, 0x3b, 0xc6, 0x17, 0x6e, 0x41, 0x9d, 0x65, 0x97, 0x29, 0x49, 0x55, 0x45, + 0x8e, 0x5f, 0x2e, 0xaa, 0x8d, 0xd6, 0xe0, 0xae, 0x54, 0xcc, 0x0b, 0x85, 0x6c, 0x58, 0xbf, 0x07, + 0x28, 0x4c, 0xff, 0x29, 0xbe, 0xc9, 0xfa, 0x5b, 0x58, 0xad, 0x28, 0x21, 0xdc, 0x46, 0xe9, 0xb8, + 0x97, 0x97, 0x4b, 0x13, 0xd2, 0xfc, 0x12, 0x1d, 0x31, 0x64, 0xfd, 0x0a, 0x36, 0xaa, 0x4b, 0x09, + 0xb7, 0xf3, 0x2e, 0xeb, 0x73, 0x58, 0x19, 0x2b, 0x17, 0xdc, 0x4a, 0x36, 0xbf, 0x83, 0xe5, 0x52, + 0x59, 0x00, 0x3d, 0x00, 0x50, 0x25, 0x04, 0x27, 0xe7, 0x85, 0x0d, 0x25, 0x39, 0xf6, 0xf9, 0x4a, + 0x89, 0xaa, 0x81, 0x74, 0xc6, 0xc2, 0xed, 0x17, 0x0b, 0xe9, 0x39, 0x0d, 0xac, 0x2f, 0x61, 0xad, + 0xaa, 0x44, 0xf0, 0x1e, 0xdf, 0xf1, 0x2f, 0xb3, 0xb0, 0x56, 0x55, 0xfe, 0x41, 0xaf, 0xe1, 0x31, + 0xbb, 0x26, 0x89, 0x93, 0x50, 0x12, 0xba, 0x54, 0xd1, 0x22, 0x27, 0x2f, 0x28, 0x51, 0x2c, 0xef, + 0x0b, 0x49, 0x1a, 0x76, 0x39, 0xf4, 0x4c, 0x22, 0x05, 0x43, 0xd2, 0x26, 0x15, 0x0c, 0x5d, 0xc0, + 0xc7, 0x3c, 0xc1, 0xab, 0x36, 0xe6, 0x32, 0x87, 0xe2, 0x5e, 0x16, 0xb8, 0x54, 0x56, 0xde, 0x24, + 0x01, 0x78, 0xcc, 0x70, 0x5a, 0x61, 0x72, 0x8f, 0xd9, 0x12, 0x2b, 0x98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4c, 0xca, 0x67, 0x51, 0x1d, 0xee, 0x1c, 0xfb, 0x01, 0x6e, 0xcf, 0x21, + 0x80, 0xf9, 0x37, 0x71, 0xfa, 0x26, 0xbe, 0x69, 0xdf, 0xb1, 0xfe, 0xbd, 0x06, 0x50, 0x8c, 0x87, + 0x3e, 0x87, 0xf5, 0x20, 0xf6, 0xdc, 0x80, 0xfc, 0x80, 0x7d, 0xc7, 0xc7, 0xcc, 0xa3, 0x24, 0xc9, + 0x8b, 0x23, 0x0d, 0x7b, 0x2d, 0x57, 0x1e, 0x14, 0x3a, 0x7e, 0xdb, 0x64, 0xcc, 0xc1, 0x51, 0x2f, + 0x20, 0xac, 0x3f, 0xd2, 0x4b, 0x7e, 0xfc, 0x5a, 0xc6, 0x0e, 0xa5, 0xd2, 0xec, 0xf5, 0x08, 0x5a, + 0x72, 0x15, 0xfc, 0x38, 0x94, 0xcb, 0x20, 0x16, 0x4a, 0xc8, 0x0e, 0x84, 0x88, 0xa7, 0xe7, 0x6a, + 0xa1, 0x62, 0x5f, 0x1e, 0x9f, 0xbb, 0x76, 0x43, 0xae, 0x48, 0xec, 0xe3, 0x97, 0xed, 0xff, 0xfa, + 0x69, 0xa7, 0xf6, 0xc7, 0x9f, 0x76, 0x6a, 0x3f, 0xfe, 0xb4, 0x53, 0xfb, 0xe7, 0xff, 0xdd, 0x99, + 0xb9, 0x9c, 0x17, 0x0b, 0xf8, 0xf9, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xb9, 0xc1, 0xd9, + 0x3f, 0x29, 0x00, 0x00, } diff --git a/mdm/mdm/internal/mdmproto/mdm.proto b/mdm/mdm/internal/mdmproto/mdm.proto index 407bf88f..8bd30c91 100644 --- a/mdm/mdm/internal/mdmproto/mdm.proto +++ b/mdm/mdm/internal/mdmproto/mdm.proto @@ -259,6 +259,7 @@ message Setting { MaximumResidentUsersSetting maximum_resident_users = 12; DiagnosticSubmissionSetting diagnostic_submission = 13; AppAnalyticsSetting app_analytics = 14; + ApplicationConfigurationSetting application_configuration = 15; } message VoiceRoamingSetting { @@ -287,6 +288,11 @@ message ApplicationAttributesSetting { ApplicationAttributes application_attributes = 2; } +message ApplicationConfigurationSetting { + string identifier = 1; + bytes configuration_dictionary_data = 2; // A serialized plist of the dictionary. +} + message ApplicationAttributes { string vpn_uuid = 1; } diff --git a/mdm/mdm/marshal_plist.go b/mdm/mdm/marshal_plist.go index c7b93a35..b2cf00ea 100644 --- a/mdm/mdm/marshal_plist.go +++ b/mdm/mdm/marshal_plist.go @@ -1,6 +1,11 @@ package mdm -import "fmt" +import ( + "fmt" + + "github.com/groob/plist" + "github.com/pkg/errors" +) func (c *Command) MarshalPlist() (interface{}, error) { switch c.RequestType { @@ -221,6 +226,17 @@ func (c *Command) MarshalPlist() (interface{}, error) { RemoveMedia: c.RemoveMedia, }, nil case "Settings": + // convert all the data plists into the dictionary inside settings before serialization. + for i, set := range c.Settings.Settings { + if len(set.ConfigurationData) > 0 { + var configuration map[string]interface{} + if err := plist.Unmarshal(set.ConfigurationData, &configuration); err != nil { + return nil, errors.Wrap(err, "turning the configuration data plist into a dictionary") + } + set.Configuration = configuration + c.Settings.Settings[i] = set + } + } return &struct { RequestType string *Settings diff --git a/mdm/mdm/marshal_proto.go b/mdm/mdm/marshal_proto.go index 0d120cbd..15327020 100644 --- a/mdm/mdm/marshal_proto.go +++ b/mdm/mdm/marshal_proto.go @@ -346,6 +346,11 @@ func commandToProto(cmd *Command) (*mdmproto.Command, error) { func settingToProto(s Setting) *mdmproto.Setting { pbs := mdmproto.Setting{Item: s.Item} switch s.Item { + case "ApplicationConfiguration": + pbs.ApplicationConfiguration = &mdmproto.ApplicationConfigurationSetting{ + Identifier: emptyStringIfNil(s.Identifier), + ConfigurationDictionaryData: s.ConfigurationData, + } case "VoiceRoaming": pbs.VoiceRoaming = &mdmproto.VoiceRoamingSetting{ Enabled: falseIfNil(s.Enabled), diff --git a/mdm/mdm/mdm_command_test.go b/mdm/mdm/mdm_command_test.go index 56f21608..54137022 100644 --- a/mdm/mdm/mdm_command_test.go +++ b/mdm/mdm/mdm_command_test.go @@ -135,49 +135,106 @@ func testCommandUnmarshal( } func TestEndToEnd(t *testing.T) { - // given an request that came over http as JSON - requestBytes := []byte(`{"udid": "BC5E2DA4-7FB6-5E70-9928-4981680DAFBF", "payload":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VOIiAiaHR0cDovL3d3dy5hcHBsZS5jb20vRFREcy9Qcm9wZXJ0eUxpc3QtMS4wLmR0ZCI+CjxwbGlzdCB2ZXJzaW9uPSIxLjAiPgo8ZGljdD4KCTxrZXk+UGF5bG9hZENvbnRlbnQ8L2tleT4KCTxhcnJheT4KCQk8ZGljdD4KCQkJPGtleT5QYXlsb2FkQ29udGVudDwva2V5PgoJCQk8ZGljdD4KCQkJCTxrZXk+Y29tLmFwcGxlLmFzc2lzdGFudC5zdXBwb3J0PC9rZXk+CgkJCQk8ZGljdD4KCQkJCQk8a2V5PkZvcmNlZDwva2V5PgoJCQkJCTxhcnJheT4KCQkJCQkJPGRpY3Q+CgkJCQkJCQk8a2V5Pm1jeF9wcmVmZXJlbmNlX3NldHRpbmdzPC9rZXk+CgkJCQkJCQk8ZGljdD4KCQkJCQkJCQk8a2V5PkFzc2lzdGFudCBFbmFibGVkPC9rZXk+CgkJCQkJCQkJPGZhbHNlLz4KCQkJCQkJCTwvZGljdD4KCQkJCQkJPC9kaWN0PgoJCQkJCTwvYXJyYXk+CgkJCQk8L2RpY3Q+CgkJCTwvZGljdD4KCQkJPGtleT5QYXlsb2FkRW5hYmxlZDwva2V5PgoJCQk8dHJ1ZS8+CgkJCTxrZXk+UGF5bG9hZElkZW50aWZpZXI8L2tleT4KCQkJPHN0cmluZz5NQ1hUb1Byb2ZpbGUuOWM3MzgwZDItNWJmZS00ZTYwLWJhZD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MjVhZDg2ZDYxNTBkPC9zdHJpbmc+Cgk8a2V5PlBheWxvYWRWZXJzaW9uPC9rZXk+Cgk8aW50ZWdlcj4xPC9pbnRlZ2VyPgo8L2RpY3Q+CjwvcGxpc3Q+Cg==", "request_type": "InstallProfile"}`) + var tests = []struct { + name string + requestBytes []byte + testFn func(t *testing.T, parts endToEndParts) + }{ + { + name: "Settings_ApplicationConfiguration", + requestBytes: []byte( + `{"udid":"BC5E2DA4-7FB6-5E70-9928-4981680DAFBF","request_type":"Settings","settings":[{"item":"ApplicationConfiguration","identifier":"anidentifier","configuration":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VOIiAiaHR0cDovL3d3dy5hcHBsZS5jb20vRFREcy9Qcm9wZXJ0eUxpc3QtMS4wLmR0ZCI+CjxwbGlzdCB2ZXJzaW9uPSIxLjAiPgogIDxkaWN0PgogICAgPGtleT5iYXo8L2tleT4KICAgIDxzdHJpbmc+cXV4PC9zdHJpbmc+CiAgICA8a2V5PmNvdW50PC9rZXk+CiAgICA8aW50ZWdlcj4xPC9pbnRlZ2VyPgogICAgPGtleT5mb288L2tleT4KICAgIDxzdHJpbmc+YmFyPC9zdHJpbmc+CiAgPC9kaWN0Pgo8L3BsaXN0Pgo="}]}`, + ), + testFn: func(t *testing.T, parts endToEndParts) { + if len(parts.req.Command.Settings.Settings) == 0 { + t.Error("expected settings command to include at least one setting") + } - // unmarshal the request into a go structure - var req CommandRequest - if err := json.Unmarshal(requestBytes, &req); err != nil { - t.Fatal(err) - } - if len(req.Command.InstallProfile.Payload) == 0 { - t.Fatal("InstallProfile payload is empty after json unmarshal") + if len(parts.fromProto.Command.Settings.Settings) == 0 { + t.Error("expected settings command from proto to include at least one setting") + } + + // unmarshal plist and check that the settings in the configuration dictionary are there + var cmd struct { + Command struct{ Settings []map[string]interface{} } + } + if err := plist.Unmarshal(parts.plistData, &cmd); err != nil { + t.Fatal(err) + } + setting := cmd.Command.Settings[0]["Configuration"].(map[string]interface{}) + if have, want := setting["foo"], "bar"; have != want { + t.Errorf("have key %s, want key %s", have, want) + } + + }, + }, + + { + name: "InstallProfile", + requestBytes: []byte( + `{"udid": "BC5E2DA4-7FB6-5E70-9928-4981680DAFBF", "payload":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VOIiAiaHR0cDovL3d3dy5hcHBsZS5jb20vRFREcy9Qcm9wZXJ0eUxpc3QtMS4wLmR0ZCI+CjxwbGlzdCB2ZXJzaW9uPSIxLjAiPgo8ZGljdD4KCTxrZXk+UGF5bG9hZENvbnRlbnQ8L2tleT4KCTxhcnJheT4KCQk8ZGljdD4KCQkJPGtleT5QYXlsb2FkQ29udGVudDwva2V5PgoJCQk8ZGljdD4KCQkJCTxrZXk+Y29tLmFwcGxlLmFzc2lzdGFudC5zdXBwb3J0PC9rZXk+CgkJCQk8ZGljdD4KCQkJCQk8a2V5PkZvcmNlZDwva2V5PgoJCQkJCTxhcnJheT4KCQkJCQkJPGRpY3Q+CgkJCQkJCQk8a2V5Pm1jeF9wcmVmZXJlbmNlX3NldHRpbmdzPC9rZXk+CgkJCQkJCQk8ZGljdD4KCQkJCQkJCQk8a2V5PkFzc2lzdGFudCBFbmFibGVkPC9rZXk+CgkJCQkJCQkJPGZhbHNlLz4KCQkJCQkJCTwvZGljdD4KCQkJCQkJPC9kaWN0PgoJCQkJCTwvYXJyYXk+CgkJCQk8L2RpY3Q+CgkJCTwvZGljdD4KCQkJPGtleT5QYXlsb2FkRW5hYmxlZDwva2V5PgoJCQk8dHJ1ZS8+CgkJCTxrZXk+UGF5bG9hZElkZW50aWZpZXI8L2tleT4KCQkJPHN0cmluZz5NQ1hUb1Byb2ZpbGUuOWM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zgwZDItNWJmZS00ZTYwLWJhZDMtMjVhZDg2ZDYxNTBkPC9zdHJpbmc+Cgk8a2V5PlBheWxvYWRWZXJzaW9uPC9rZXk+Cgk8aW50ZWdlcj4xPC9pbnRlZ2VyPgo8L2RpY3Q+CjwvcGxpc3Q+Cg==", "request_type": "InstallProfile"}`, + ), + testFn: func(t *testing.T, parts endToEndParts) { + if len(parts.req.Command.InstallProfile.Payload) == 0 { + t.Error("InstallProfile payload is empty after json unmarshal") + } + if len(parts.fromProto.Command.InstallProfile.Payload) == 0 { + t.Error("unmarshaled proto payload is missing payload") + } + if !bytes.Contains(parts.plistData, []byte(`PD94bWwgdm`)) { + t.Error("marshaled plist does not contain the required payload") + } + }, + }, } - // create a payload from the request - payload, err := NewCommandPayload(&req) - if err != nil { - t.Fatal(err) - } - if !reflect.DeepEqual(payload.Command.InstallProfile.Payload, req.Command.InstallProfile.Payload) { - t.Fatal("mdm payload and request do not have the same payload data") - } - - // marshal to proto (for storage) - data, err := MarshalCommandPayload(payload) - if err != nil { - t.Fatal(err) - } - - // unmarshal the proto back into go (from storage) - var newPayload CommandPayload - err = UnmarshalCommandPayload(data, &newPayload) - if err != nil { - t.Fatal(err) - } - if len(newPayload.Command.InstallProfile.Payload) == 0 { - t.Fatal("unmarshaled proto payload is missing payload") - } - - // marshal it into a plist to send to the device - pd, err := plist.MarshalIndent(newPayload, " ") - if err != nil { - t.Fatal(err) - } - if !bytes.Contains(pd, []byte(`PD94bWwgdm`)) { - t.Fatal("marshaled plist does not contain the required payload") + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + parts := endToEnd(t, tt.requestBytes) + tt.testFn(t, parts) + }) } } + +type endToEndParts struct { + requestBytes []byte // some json, our API request + req CommandRequest // after unmarshal + payload *CommandPayload // new payload + protoData []byte // stored as + fromProto CommandPayload // back from proto + plistData []byte // final representation +} + +func endToEnd(t *testing.T, requestBytes []byte) endToEndParts { + t.Helper() + var ( + err error + parts = endToEndParts{requestBytes: requestBytes} + ) + + if err = json.Unmarshal(parts.requestBytes, &parts.req); err != nil { + t.Fatal(err) + } + + if parts.payload, err = NewCommandPayload(&parts.req); err != nil { + t.Fatal(err) + } + + if parts.protoData, err = MarshalCommandPayload(parts.payload); err != nil { + t.Fatal(err) + } + + if err := UnmarshalCommandPayload(parts.protoData, &parts.fromProto); err != nil { + t.Fatal(err) + } + + if !reflect.DeepEqual(*parts.payload, parts.fromProto) { + t.Errorf("command from json request does not match command from proto") + } + + if parts.plistData, err = plist.MarshalIndent(parts.fromProto, " "); err != nil { + t.Fatal(err) + } + + return parts +} diff --git a/mdm/mdm/unmarshal_proto.go b/mdm/mdm/unmarshal_proto.go index 9c6ccbbb..4356fdad 100644 --- a/mdm/mdm/unmarshal_proto.go +++ b/mdm/mdm/unmarshal_proto.go @@ -302,6 +302,10 @@ func protoToSetting(s *mdmproto.Setting) Setting { Item: s.GetItem(), } switch s.Item { + case "ApplicationConfiguration": + pbs := s.GetApplicationConfiguration() + setting.Identifier = nilIfEmptyString(pbs.GetIdentifier()) + setting.ConfigurationData = pbs.GetConfigurationDictionaryData() case "VoiceRoaming": pbs := s.GetVoiceRoaming() setting.Enabled = nilIfFalse(pbs.GetEnabled()) diff --git a/tools/api/commands/settings_application_configuration b/tools/api/commands/settings_application_configuration new file mode 100755 index 00000000..03f5ff82 --- /dev/null +++ b/tools/api/commands/settings_application_configuration @@ -0,0 +1,33 @@ +#!/bin/bash + +# Documentation: +# The configuration values must be provided to $3 must be a property list with the key/values for the configuration dictionary. +# Example: +# +# +# +# +# +# baz +# qux +# count +# 1 +# foo +# bar +# +# + +source $MICROMDM_ENV_PATH +endpoint="v1/commands" +jq -n \ + --arg request_type "Settings" \ + --arg udid "$1" \ + --arg identifier "$2" \ + --arg payload "$(cat $3|openssl base64 -A)" \ + '.udid = $udid + |.request_type = $request_type + |.settings[0].item = "ApplicationConfiguration" + |.settings[0].identifier = $identifier + |.settings[0].configuration = $payload + '|\ + curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-