mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Add a new dynamic label 'Macs with Fleet Desktop installed' (platform: darwin) that selects hosts where apps.name = 'Fleet Desktop'. Update the macOS policy update-fleet-desktop.yml to include this label via labels_include_any so the policy targets only hosts with Fleet Desktop installed. Files changed: it-and-security/lib/all/labels/macs-with-fleet-desktop-installed.yml (new) and it-and-security/lib/macos/policies/update-fleet-desktop.yml (modified).
10 lines
557 B
YAML
10 lines
557 B
YAML
- name: macOS - Fleet Desktop up to date
|
|
query: SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM apps WHERE name = 'Fleet Desktop.app' AND version_compare(bundle_short_version, '1.1.0') < 0);
|
|
critical: false
|
|
description: The host may have an outdated version of Fleet Desktop, potentially risking security vulnerabilities or compatibility issues.
|
|
resolution: "Download the latest version from Self-service."
|
|
platform: darwin
|
|
labels_include_any:
|
|
- Macs with Fleet Desktop installed
|
|
install_software:
|
|
package_path: ../software/fleet-desktop.yml
|