Mondoo Docs

macOS specific resources

macos MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

macOS specific resources

Use MQL in cnspec shell or policy:

macos
Min version: 5.15.0

Relationships

Mini Map
Operating System
6 resources · 6 relationshipsClick to select, expand fields to see properties.

Fields (10)

FieldTypeDescription
alf
macos.alfmacOS application layer firewall (ALF) service
computerName
stringmacOS computer name
globalAccountPolicies
dictmacOS global account policies
hardware
macos.hardwaremacOS hardware overview
systemExtensionprivate
macos.systemExtensionmacOS system extension
systemExtensions
[]macos.systemExtensionSystem extensions
systemsetup
macos.systemsetupmacOS machine settings
timemachine
macos.timemachinemacOS Time Machine
userHostPreferences
map[string]dictmacOS user defaults for current host
userPreferences
map[string]dictmacOS user defaults

Field Details

systemsetupmacos.systemsetup

Note: The resource requires at least admin privileges to run.