fleetdm / fleet

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

Scope software install to hosts by labels #22813

Open marko-lisica opened 1 month ago

marko-lisica commented 1 month ago

Goal

User story
As an IT admin,
I want to install the Fleet-maintained apps, custom packages, and App Store apps (during the first boot or later) only on macOS, Windows, and Linux hosts that are a member of the specific label
so that I can scope software install more granularly (e.g. by department, role, hardware, etc.).

Key result

Fleet users can automatically install any software in Fleet w/o writing policies

Original requests

Context

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 1 month ago

Hey @marko-lisica! This user story is looking good. I pulled it into ready and assigned you.

A couple things to think about as we draft the user story...

valentinpezon-primo commented 1 month ago

Hi @noahtalerman @marko-lisica

Since #22156 issue is going to be tacked first (as per @zayhanlon said) , it it possible for this current (#22813) issue to also wotk with "any" label ?

Basically, we would like to have the ability to be able to scope software install by label, by also using "any" and not only "include all"

Something like this : Screenshot 2024-10-11 at 19 20 41

Based on the os settings view: Screenshot 2024-10-11 at 19 21 24

marko-lisica commented 1 month ago

Hi @valentinpezon-primo, thanks for the feedback.

I think that's what we are aiming for (Include any - software will only be installed on hosts that are members of any of the selected labels) in order to support one of the main use cases: scope software by department or role.

cc @noahtalerman

noahtalerman commented 1 month ago

Hey @zayhanlon and @pintomi1989 heads up that this didn't make the 3 week drafting timeline. The plan is to continue working on it and prioritize it in the next design sprint. It contributes to the "Mission critical app management" Q4 objective.

allenhouchins commented 4 weeks ago

prospect-leiden brought up a scenario today that provides another good example of why scoping software by labels is important. They have a mix of Linux devices and want to make sure their end users only see the relevant installer in self-service for their device (rpm vs deb).

In general, this would also help with scoping arm64 vs amd64.