fleetdm / fleet

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

User can attempt an install of VPP software even on hosts that aren't enrolled in Fleet MDM #21089

Open jahzielv opened 1 month ago

jahzielv commented 1 month ago

Fleet version: 4.55.0

Web browser and operating system: N/A


💥  Actual behavior

Loom link

🧑‍💻  Steps to reproduce

  1. Enable VPP and add a VPP app to a team
  2. Enroll a host to that team with fleetd, but do not MDM enroll (you can also enroll it into a 3rd party MDM)
  3. Note that you can click the "install" option in for the VPP app in the host's software table.

🕯️ More info (optional)

🛠️ To fix

In conversation 2024-08-06, @noahtalerman noted that we should filter out the row altogether from the host software table API result if the host is not MDM enrolled to Fleet.

jahzielv commented 1 month ago

Note: not a release blocker for 4.55.0