mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Add MDM-enforced OS autoupdate query (#8927)
Necessary for Vanta integration, since currently, we do not store autoupdate information.
This commit is contained in:
parent
cde9877ecb
commit
61f2d5fe58
1 changed files with 16 additions and 0 deletions
|
|
@ -1034,3 +1034,19 @@ spec:
|
|||
purpose: inventory
|
||||
tags: inventory
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue