fleetdm / fleet

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

One Fleet server for many MDM customers #9956

Open zwass opened 1 year ago

zwass commented 1 year ago

Problem

Some customers would like to be able to manage multiple clients' workstations using one Fleet server:

Scenarios:

  1. Customer is a managed service provider and wants to be able to manage workstations on behalf of multiple separate organizations (that are their customers).
  2. Customer is an organization that has separate business units (possibly through acquisitions) with separate ABM accounts.

Requirements

  1. Each team can be configured with a separate APNS cert/key and DEP token. UPDATE: Might not be necessary. We can use one APNs cert/key pair for many customers (noahtalerman 2024-07-03).
    • Noah: The current plan is to use one APNs cert/key for many customers. Other MDM solutions are already doing.
    • Noah: For DEP, the customer is setting up Apple Business Manager on behalf of their clients.
  2. New teams can be created and configured via API (this likely means solving the problem of storing secrets -- could be done through AWS Secrets Manager or similar, maybe we would also want an option to store them encrypted in the DB for non-cloud deployments?
  3. Upon DEP enrollment, hosts automatically join the corresponding team.
  4. End user authentication workflows would have to unique SAML authentication streams per team.
    • Noah: Not a requirement in the first pass. Something aspiration for later.
  5. Admin SSO would also need to be configured per team.
  6. Noah: The customer today has one VPP connection per client. Consider one VPP can be used for many teams. If we go w/ the approach of one ABM to one team then it would be lot easier to point many teams to the same VPP. Each client has one location.

Potential Solutions

@dherder drew up a diagram describing what this could look like

Screenshot 2023-02-20 at 10 44 30 AM
marko-lisica commented 7 months ago

@zayhanlon @zwass We didn't get to this one in the current design sprint. Adding it to feature fest.

noahtalerman commented 4 months ago

Hey @dherder, heads up, we didn't have room to take this one in the current design sprint (4.48).

phtardif1 commented 1 month ago

We now also have a European MSP (confidential) that requires same set of features and willing to work with us on developing and bringing to market

alexmitchelliii commented 3 weeks ago

@noahtalerman prospect ibara would like to participate in design reviews with the team if that works for you.

noahtalerman commented 3 weeks ago

@alexmitchelliii sounds good. I added a reminder to the MDM design review doc to invite them to design review when we have wireframes for this story.

noahtalerman commented 3 weeks ago

Alex: Think about the user journey from the customer's perspective as someone who’s trying to automate provisioning a new customer of theirs.

cc @marko-lisica

marko-lisica commented 4 days ago

Hey @pintomi1989, we didn't design this one in the current sprint. We'll work on it next sprint.