Information
Ensure that macOS updates are installed after they are available from Apple. This setting enables macOS updates to be automatically installed. Some environments will want to approve and test updates before they are delivered. It is best practice to test first where updates can and have caused disruptions to operations. Automatic updates should be turned off where changes are tightly controlled and there are mature testing and approval processes. Automatic updates should not be turned off so the admin can call the users first to let them know it's ok to install. A dependable, repeatable process involving a patch agent or remote management tool should be in place before auto-updates are turned off.
Rationale:
Patches need to be applied in a timely manner to reduce the risk of vulnerabilities being exploited.
Impact:
Unpatched software may be exploited.
Solution
Perform the following to enable macOS updates to run automatically:
Graphical Method:
Open System Preferences
Select Software Updates
Select Advanced
Select Install macOS updates
Terminal Method:
Run the following command to to enable automatic checking and installing of macOS updates:
$ sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticallyInstallMacOSUpdates -bool TRUE
Profile Method:
Create or edit a configuration profile with the PayLoadType of com.apple.SoftwareUpdate
Add the key AutomaticallyInstallMacOSUpdates
Set the key to <true/>