os_config_data_install_enforce Enforce Installation of XProtect Remediator and Gatekeeper Updates Automatically
All changes in this version
Title
Enforce Installation of XProtect Remediator and Gatekeeper Updates Automatically
Control
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate')\
.objectForKey('ConfigDataInstall').js
EOS
Discussion
Software Update _MUST_ be configured to update XProtect Remediator and Gatekeeper automatically.
This setting enforces definition updates for XProtect Remediator 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 the computer to be restarted.
link:https://support.apple.com/en-us/HT207005[]
NOTE: Software update will automatically update XProtect Remediator and Gatekeeper by default in the macOS.
Related controls
si-2.5, si-3
Fix
This is implemented by a Configuration Profile.