macOS machine settings
Note: The resource requires at least admin privileges to run.
Operating System
macOS machine settings
Note: The resource requires at least admin privileges to run.
Use MQL in cnspec shell or policy:
macos.systemsetupMin version: 5.15.0
Relationships
2 resources · 1 relationships·Click to select, expand fields to see properties.
Fields (20)
| Field | Type | Description |
|---|---|---|
allowPowerButtonToSleepComputer | string | Whether the power button can sleep the computer |
computerName | string | Computer name |
date | string | Current date |
disableKeyboardWhenEnclosureLockIsEngaged | string | Whether the keyboard is disabled when the X Serve enclosure lock is engaged |
displaySleep | string | Amount of idle time until the display sleeps |
harddiskSleep | string | Amount of idle time until the hard disk sleeps |
localSubnetName | string | Local subnet name |
networkTimeServer | string | Configured network time server |
remoteAppleEvents | string | Whether remote Apple events are on or off |
remoteLogin | string | Whether remote login (SSH) is on or off |
restartFreeze | string | Whether restart on freeze is on or off |
restartPowerFailure | string | Whether restart on power failure is on or off |
sleep | []string | Amount of idle time until the machine sleeps |
startupDisk | string | Current startup disk |
time | string | Current time in 24-hour format |
timeZone | string | Current time zone |
usingNetworkTime | string | Whether network time is on or off |
waitForStartupAfterPowerFailure | string | Number of seconds after which the computer will start up after a power failure |
wakeOnModem | string | Whether wake on modem is on or off |
wakeOnNetworkAccess | string | Whether wake on network access is on or off |