system_settings_firewall_enable Enable macOS Application Firewall
NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
All changes in this version
Title
Enable macOS Application Firewall
Control
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.firewall')\
.objectForKey('EnableFirewall').js
EOS
Discussion
The macOS Application Firewall is the built-in firewall that comes with macOS, and it _MUST_ be enabled.
When the macOS Application Firewall is enabled, the flow of information within the information system and between interconnected systems will be controlled by approved authorizations.
Related controls
ac-4, cm-7, cm-7.1, sc-7, sc-7.12
Fix
This is implemented by a Configuration Profile.