fleetdm / fleet

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

Prevent end user from disabling Fleet agent on macOS #17491

Open nonpunctual opened 4 months ago

nonpunctual commented 4 months ago

Goal

User story
As an IT admin,
I want to prevent end users from disabling Fleet agent on macOS,
so that I can make sure hosts are managed.

Context

The System Settings > General > Login Items UI exposes macOS 3rd party background / launchctl processes as switches, which is great for a consumer Mac user, bad for a managed device. Apple did not originally intend for these settings to be controlled via MDM. This effectively meant every management & security solution would have become useless overnight if a user simply could turn them off with a switch. Apple eventually changed their design to allow these settings to be controlled via MDM. Jamf deploys a Config Profile at enrollment that prevents a user from modifying this switch for the Jamf service.

Changes

Product

Engineering

ℹ️  Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

QA

Risk assessment

Manual testing steps

  1. Step 1
  2. Step 2
  3. Step 3

Testing notes

Confirmation

  1. [ ] Engineer (@____): Added comment to user story confirming successful completion of QA.
  2. [ ] QA (@____): Added comment to user story confirming successful completion of QA.
noahtalerman commented 4 months ago

@nonpunctual thanks for tracking this.

Bringing it to feature fest.

noahtalerman commented 3 months ago

Hey @nonpunctual, heads up, we brought this into the upcoming design sprint (4.49).

nonpunctual commented 3 months ago

I did not get a screen shot of it but there is also a Notification Center message when the login item is added. Not a huge deal but maybe want to consider if we want to supress it or leave it. Transparency says show it - lots of orgs do this. Paranoia says don' to prevent users from looking at the toggles. Thanks.

marko-lisica commented 3 months ago

Feedback from Mike M.

"As a user on the "OS settings" page, I want to know there are more things that Fleet is installing that I can't see in the below list. (A tooltip of static text roughly summarizing in like one sentence the two profiles we default install would be fine)"

nonpunctual commented 3 weeks ago

related: https://github.com/fleetdm/fleet/issues/12908

noahtalerman commented 2 weeks ago

Brock: We can make a public version of the profile.

Noah: Do we dogfood this? I think let's dogfood this. cc @lukeheath

Zach: Let's add this to the deployment docs.