We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scan result says that the firewall isn't enabled although it is wrong.
The text was updated successfully, but these errors were encountered:
The firewall check module is using "➜ ~ defaults read /Library/Preferences/com.apple.alf globalstate" command with globalstate parameter.
Can you share your output and which OS version that you are using? @Quorum75
Here is how it's defined in CIS benchmark:
$ /usr/bin/sudo /usr/bin/osascript -l JavaScript << EOS function run() { let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.alf') .objectForKey('globalstate')) let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.fire wall') .objectForKey('EnableFirewall')) if ( ( pref1 == 1 ) || ( pref1 == 2 ) || ( pref2 == "true" ) ) { return("true") } else { return("false") } } EOS true
Sorry, something went wrong.
No branches or pull requests
Scan result says that the firewall isn't enabled although it is wrong.
The text was updated successfully, but these errors were encountered: