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
parent52e1231433eca258d868c6989cf02f26f3870146 (diff)
Test SINT-7010 in macOS only
-rw-r--r--db/tests.db2
-rw-r--r--include/tests_system_integrity2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/tests.db b/db/tests.db
index b43cef54..cbe892b9 100644
--- a/db/tests.db
+++ b/db/tests.db
@@ -363,7 +363,7 @@ SHLL-6202:test:security:shells:FreeBSD:Check console TTYs:
SHLL-6211:test:security:shells::Checking available and valid shells:
SHLL-6220:test:security:shells::Checking available and valid shells:
SHLL-6230:test:security:shells::Perform umask check for shell configurations:
-SINT-7010:test:security:system_integrity::System Integrity Status:
+SINT-7010:test:security:system_integrity:MacOS:System Integrity Status:
SNMP-3302:test:security:snmp::Check for running SNMP daemon:
SNMP-3304:test:security:snmp::Check SNMP daemon file location:
SNMP-3306:test:security:snmp::Check SNMP communities:
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