mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Updated target platforms on labels (#29167)
- Added `platform` targets for labels so labels weren't being applied to out of scope devices unintentionally
This commit is contained in:
parent
f30d8e1bb8
commit
476a369924
6 changed files with 6 additions and 0 deletions
|
|
@ -2,3 +2,4 @@
|
|||
description: Windows hosts on ARM architecture
|
||||
query: SELECT 1 FROM os_version WHERE arch LIKE 'ARM%';
|
||||
label_membership_type: dynamic
|
||||
platform: windows
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
description: Linux hosts running on Debian-based operating systems
|
||||
query: SELECT 1 FROM os_version WHERE platform_like = 'debian';
|
||||
label_membership_type: dynamic
|
||||
platform: linux
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
description: Macs with 1Paswsword installed
|
||||
query: SELECT 1 FROM apps WHERE bundle_identifier = 'com.1password.1password';
|
||||
label_membership_type: dynamic
|
||||
platform: darwin
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
description: Linux hosts running on RPM-based operating systems
|
||||
query: SELECT 1 FROM os_version WHERE platform_like = 'rhel';
|
||||
label_membership_type: dynamic
|
||||
platform: linux
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
- name: Santa test devices
|
||||
description: Macs testing santa
|
||||
label_membership_type: manual
|
||||
platform: darwin
|
||||
hosts:
|
||||
- "allens-macbook-pro.local"
|
||||
- "harrisons-macbook-pro.local"
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
description: Windows hosts on x86 architecture
|
||||
query: SELECT * FROM os_version WHERE arch NOT LIKE 'ARM%';
|
||||
label_membership_type: dynamic
|
||||
platform: windows
|
||||
|
|
|
|||
Loading…
Reference in a new issue