fleetdm / fleet

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

Define platforms that a script can run on #18612

Open dherder opened 5 months ago

dherder commented 5 months ago

Goal

User story
As a IT admin,
I want to differentiate scripts by platform
so that I can run scripts on a supported platform and prevent errors.

Context

We need a way to differentiate between scripts specifically for macOS vs. Linux vs. both. Some bash scripts will execute on both OS platforms, but others will error because they are platform specific. The user should be able to set sensible defaults for which platforms they'd like to execute the script against when they are defining the script in gitops flows or when uploading in the UI.

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 5 months ago

@dherder thanks for tracking this. Agreed seeing "macOS & Linux" is confusing.