Docker application is up to date or not present
search

Docker application is up to date or not present

Checks if the application (Docker Desktop example) is installed and up to date, or not installed. Fails if the application is installed and on a lower version. You can copy this query and replace the bundle_identifier and bundle_version values to apply the same type of policy to other applications.

Check

Use the policy below to verify

SELECT 1 WHERE EXISTS (SELECT 1 FROM apps a1 WHERE a1.bundle_identifier = 'com.electron.dockerdesktop' AND a1.bundle_short_version>='4.6.1') OR NOT EXISTS (SELECT 1 FROM apps a2 WHERE a2.bundle_identifier = 'com.electron.dockerdesktop');

Platform

macOS Windows Linux ChromeOS

Share

Share this article on Hacker News Share this article on LinkedIn Share this article on Twitter