Information
Ensure that system and security updates are installed after they are available from Apple. This setting enables definition updates for XProtect and Gatekeeper. With this setting in place, new malware and adware that Apple has added to the list of malware or untrusted software will not execute. These updates do not require reboots or end user admin rights.
Silently updated security data files in Monterey
https://support.apple.com/en-us/HT202491
XProtect is Apple's built-in, signature-based security tool for detection and removal of malware.
Protecting against malware in macOS
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 system data files and security updates to install automatically:
Graphical Method:
Open System Preferences
Select Software Updates
Select Advanced
Select Install system data files and security updates
Terminal Method:
Run the following commands to enable automatic checking of system data files and security updates:
$ sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool true
$ sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool true
Profile Method:
Create or edit a configuration profile with the PayLoadType of com.apple.SoftwareUpdate
Add the key ConfigDataInstall
Set the key to <true/>
Add the key CriticalUpdateInstall
Set the key to <true/>