fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.01k stars 418 forks source link

Automatically create a DEP enrollment profile if MDM is set up #9569

Closed roperzh closed 1 year ago

roperzh commented 1 year ago

Task

When we sync devices from ABM, we also assign a DEP enrollment profile to each device.

If this DEP profile doesn't exist in the database, the code skips the assignment, which in practice means that devices are not enrolled via DEP.

The prototype currently handles this by asking the IT admin to run the following command:

fleetctl apple-mdm enrollment-profiles create-automatic --dep-profile dep_config.json

We want to make this profile creation automatic.

Condition of satisfaction

The IT admin can start the Fleet server configured for MDM and is able to enroll a DEP device into Fleet's MDM without doing anything else.

roperzh commented 1 year ago

heads-up @lukeheath , I'm adding the :release label to this issue.

lukeheath commented 1 year ago

@roperzh Thanks for creating this! We should only bring tickets into the sprint if we can complete them in the current sprint. If they are sub-tasks, please link them to the appropriate user story and add a point estimate.

roperzh commented 1 year ago

@lukeheath understood, I don't think there's a user story directly related to this, I replaced the label with :product is that correct?

lukeheath commented 1 year ago

@roperzh That's great, thanks! I've converted this to be its own story since it is not related to another one.

lukeheath commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @mna @roperzh

fleet-release commented 1 year ago

Cloud city's tech thrives, DEP profile creates, Ease for devices' lives.