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:
authorpyllyukko <pyllyukko@maimed.org>2019-10-08 20:31:35 +0300
committerpyllyukko <pyllyukko@maimed.org>2019-10-08 20:31:35 +0300
commitc88953a81531dc05d049077763d1c7151ce55651 (patch)
tree3af9abb490d7f3887eab54a6af85992c0db3b175 /include/tests_system_integrity
parent52e1231433eca258d868c6989cf02f26f3870146 (diff)
Test SINT-7010 in macOS only
Diffstat (limited to 'include/tests_system_integrity')
-rw-r--r--include/tests_system_integrity2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_system_integrity b/include/tests_system_integrity
index a02f84fb..8b6910c1 100644
--- a/include/tests_system_integrity
+++ b/include/tests_system_integrity
@@ -31,7 +31,7 @@
#################################################################################
#
if [ -x ${ROOTDIR}/usr/bin/csrutil ]; then PREQS_MET="YES"; else PREQS_MET="NO"; SKIPREASON="No CSrutil binary found"; fi
- Register --test-no SINT-7010 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight H --network NO --category security --description "System Integrity Status"
+ Register --test-no SINT-7010 --os MacOS --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight H --network NO --category security --description "System Integrity Status"
if [ ${SKIPTEST} -eq 0 ]; then
if ${ROOTDIR}usr/bin/csrutil status | ${GREPBINARY} -sq enabled ; then
Display --indent 2 --text "- System Integrity Protection (status)" --result "${STATUS_OK}" --color GREEN