SV-268557r1034611_rule
V-268557
SRG-OS-000480-GPOS-00232
APPL-15-005050
CAT II
10
Configure the macOS system to enable the Application Firewall by installing the "com.apple.security.firewall" configuration profile.
Verify the macOS system is configured to enable the Application Firewall with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.firewall')\
.objectForKey('EnableFirewall').js
EOS
If the result is not "true", this is a finding.
V-268557
False
APPL-15-005050
Verify the macOS system is configured to enable the Application Firewall with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.firewall')\
.objectForKey('EnableFirewall').js
EOS
If the result is not "true", this is a finding.
M
5661