Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin P <jpartain89@users.noreply.github.com>2016-11-05 13:53:22 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-11-05 13:53:22 +0300
commit50b06efd303fa82284dfa1fd083ed18fa8a55ec6 (patch)
treeb1404a0f60402fc6512a11397eb75fcae618edd1 /include/tests_firewalls
parent0f318a4b7c8f47e76ba0f4fb24027673bb04b9af (diff)
macOS Refactoring (#311)
* Default all macOS `OS` names as macOS. Added comments to specify `uname` outputs for better understanding. * Refactored all `Mac` instances referring to macOS over to `macOS` formatting. Tested on my own machine, unable to find any errors outside of normal parameters.
Diffstat (limited to 'include/tests_firewalls')
-rw-r--r--include/tests_firewalls6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_firewalls b/include/tests_firewalls
index 262aa8d3..25f95907 100644
--- a/include/tests_firewalls
+++ b/include/tests_firewalls
@@ -356,9 +356,9 @@
#################################################################################
#
# Test : FIRE-4532
- # Description : Check Application Firewall in Mac OS X
+ # Description : Check Application Firewall in macOS
if [ -x /usr/libexec/ApplicationFirewall/socketfilterfw ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no FIRE-4532 --weight L --os "MacOS" --preqs-met ${PREQS_MET} --network NO --category security --description "Check macOS application firewall"
+ Register --test-no FIRE-4532 --weight L --os "macOS" --preqs-met ${PREQS_MET} --network NO --category security --description "Check macOS application firewall"
if [ ${SKIPTEST} -eq 0 ]; then
FIND=$(/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate 2> /dev/null | ${GREPBINARY} "Firewall is enabled")
if [ ! -z "${FIND}" ]; then
@@ -380,7 +380,7 @@
#
# Test : FIRE-4534
# Description : Check Little Snitch Daemon on macOS
- Register --test-no FIRE-4534 --weight L --os "MacOS" --network NO --category security --description "Check for presence of Little Snitch on macOS"
+ Register --test-no FIRE-4534 --weight L --os "macOS" --network NO --category security --description "Check for presence of Little Snitch on macOS"
if [ ${SKIPTEST} -eq 0 ]; then
if IsRunning "Little Snitch Daemon"; then
Display --indent 2 --text "- Checking Little Snitch Daemon" --result "${STATUS_ENABLED}" --color GREEN