14 Commits

Author SHA1 Message Date
Jesse Peterson
da16c24036 switch to micromdm/plist and update jessepeterson/cfgprofiles 2025-01-17 00:13:33 -08:00
Graham Gilbert
c4a1cd97ef Add endpoint for inspecting the MDM command queue (#895) 2023-07-11 18:07:42 -05:00
Kory Prince
3d0746f3e3 Add raw command and clear device queue endpoints (#864) 2023-04-23 14:47:42 -07:00
Jesse Peterson
ddcea1ad93 New inmem command queue (#736) 2021-10-10 12:45:09 -07:00
Jesse Peterson
d15dab703c Avoid queue save when not needed (#711)
* Avoid queue save when not needed
2021-02-10 11:21:22 -08:00
Jesse Peterson
e01ef8a382 Clear a UDID's command queue during Authenticate Check-in (enrollment) (#692) 2020-07-20 22:25:06 -07:00
Jesse Peterson
05af177cf6 Add option to opt out of saving device command history. (#640) 2020-01-10 10:55:07 -08:00
Victor Vrantchan
ed0e372a6e set ack time only if command is not nil 2019-06-30 00:27:45 -04:00
Victor Vrantchan
127955dc74 Support User Enrollment (#597)
In iOS 10.13/macOS 10.15 a new, BYOD specific enrollment type was added, called User Enrollment.
This enrollment type replaces the typical UDID field in checkin and acknowledge requests with a EnrollmentID field which is unique per each enrollment. One important aspect of this enrollment type is that no personally identifiable information is available to the MDM (UDID, SerialNumber).

The implementation implemented here adds the new EnrollmentID field where appropriate, and ensures that the device tables do not store the enrollment ID.

I will follow up this change set with one that allows listing/removing current enrollment IDs in a similar way that mdmctl get devices and mdmctl get users does.
2019-06-29 15:36:13 -07:00
Brett Demetris
9e400c93e6 set acknowledge time when moving command to completed queue (#581)
quick resolve for https://github.com/micromdm/micromdm/issues/580

this just ensures that each time a command is moved to completed it's time is recorded in the struct.  useful to prune completed commands by date.
2019-03-22 11:46:47 -07:00
Victor Vrantchan
1593659382 add proper logger to queue (#530) 2018-10-13 14:25:11 -04:00
Victor Vrantchan
dcd0ec4a41 reorganize MDM service into a single package. (#423) 2018-05-27 17:47:21 -04:00
Victor Vrantchan
6da097ec78 move MDM types to micromdm/micromdm (#341)
Previously the github.com/micromdm/mdm library was used, but the code there was a bit naive and had a few issues as it grew to support the full library of MDM Commands. 

All the request types have been moved to `package mdm`.
2018-05-12 15:54:04 -04:00
Victor Vrantchan
91c236c8c3 organize essential APIs into platform, workflow and pkg folders (#337)
Add more logic to the way code is organized.

	/pkg -- library code not directly connected to micromdm
	/mdm -- packages meant for the services devices interract with. The MDM protocol.
	/dep -- DEP API and related packages.
	/platform -- Core APIs the server provides. Commands API, Devices API, queue, pubsub etc.
	/workflow -- Packages/API that build on top of platform. Today that's the webhook package.
		     Depending on what ends up here, the workflow folder might become its own repository.
2017-11-23 22:07:57 -05:00