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:
Allen Houchins 2025-05-15 14:09:35 -05:00 committed by GitHub
parent f30d8e1bb8
commit 476a369924
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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