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

Exposed endpoints for MDM features #16633

Closed noahtalerman closed 5 months ago

noahtalerman commented 8 months ago

Goal

User story
As a CPE trying to use Fleet's macOS MDM features,
I want to know which Fleet API endpoints I need to expose via standard HTTPS and which can use mTLS
so that I can bring this list to my infrastructure and security team.

Currently, this "Which API endpoints to expose to the public internet?" article lists these endpoints:

Screenshot 2024-02-06 at 4 14 36 PM

@rfairburn mentioned that these endpoints also need to be exposed:

Changes

Product

Context

noahtalerman commented 8 months ago

cc @pauldittmer2 @dherder

rfairburn commented 8 months ago

Note: This list also includes everything around fleet desktop as well:

/api/*/fleet/device/*/migrate_mdm
/api/*/fleet/device/*
/api/*/fleet/device/*/rotate_encryption_key
/api/*/fleet/device/*/debug/errors
/api/*/fleet/device/*/desktop
/api/*/fleet/device/*/refetch
/api/*/fleet/device/*/transparency

Since fleet desktop is already otherwise solved for the customer, I'll make sure to limit this down to only the mdm-specific ones needed as a final answer for this. Some overlap will likely exist in order to obtain the rotating UUID, but I'll confirm the specifics.

rfairburn commented 8 months ago

I spent some time going over the existing mTLS vs non-mTLS configuration/ingresses with the mdm team and how that would interact with existing mdm features, and this is how things would need to be configured currently in order to work:

Please let me know if there are further questions or clarifications needed. @noahtalerman

noahtalerman commented 5 months ago

Closing this issue out because the docs PR is merged.

@Patagonia121 please let us know if there are any further questions from the customer. Thanks!

fleet-release commented 5 months ago

Endpoints clear and bright, Adding security, pure light. Fleet's power in sight.