Revert "Add MDM-enforced OS autoupdate query (#8927)" (#8944)

This reverts commit 61f2d5fe58.

This query already existed here: https://fleetdm.com/queries/automatic-installation-of-operating-system-updates-is-enabled-mac-os. I didn't see it because of the "built-in" default filter.
This commit is contained in:
Mo Zhu 2022-12-07 08:04:50 -08:00 committed by GitHub
parent 5db8383153
commit 1ecd235312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1034,19 +1034,3 @@ spec:
purpose: inventory purpose: inventory
tags: inventory tags: inventory
contributors: zwass contributors: zwass
---
apiVersion: v1
kind: query
spec:
name: macOS Auto-updates enforced by MDM
platform: darwin
description: Finds all hosts where a mobile device management (MDM) solution enforces macOS auto-updates.
query: >-
SELECT *
FROM managed_policies AS mp
WHERE mp.domain = "com.apple.SoftwareUpdate"
AND mp.name = "AutomaticallyInstallMacOSUpdates"
AND mp.value = "0";
purpose: compliance
tags: compliance
contributors: zhumo