fleet
fleet copied to clipboard
Software provisioning logic between turning on MDM and completing enrollment in Fleet
Problem
As an IT admin, I want to inject software provisioning logic in between when MDM is turned on for a host and when Fleet enrollment is 100% complete. This would be a basic catchup feature necessary for jamf parity.
More context:
Potential solutions
- Could use design work done here as a starting point, but would need to have a plan for how to handle errors.
@rachaelshaw I feel like the the story above captures what was said in the meeting but I feel it's kind of in the wrong order. I don't want to rewrite the story for you because I don't want to confuse it more, but, the order is this:
- Device successfully enrolls in Fleet >>>
- trigger some event (webhook, log event, activity stream, something...) >>>
- other stuff happens in other systems (all of the things I have in the other ticket)
What's written above makes it seem like the event we are capturing is BEFORE enrollment. The event for which customers are requesting a trigger is "enrollment complete".
I am agnostic about whether or not this should be MDM enrollment or not, but, it makes sense to me that we would be able to trigger an action on either event:
- installation of Fleet Desktop / fleetd (what Fleet calls enrollment) >>> do a thing
- MDM enrollment (i.e., installation of an MDM enrollment profile) >>> do a thing
Thanks!
Hey @nonpunctual do you think we can close this one now that we shipped the following?
- #14722
We have an activity feed item for when MDM is turned on for a specific host and thus a webhook is fired when this happens.
Has anyone actually successfully created a workflow where we actually emit a webhook (it doesn't have to do anything just has to be emitted) on an enrollment event @noahtalerman @PezHub @pacamaster @ddribeiro
I think you're correct that this is a duplicate I just want to be able say that it's been done.
@noahtalerman we can go ahead and close this issue. I was able to validate that an MDM enrollment triggers a webhook as expected from #14722. Thanks!
In the cloud city, Provision logic is tuned, Fleet enrollment blooms.