mirror of https://github.com/CISOfy/lynis.git
Test SINT-7010 in macOS only
This commit is contained in:
parent
52e1231433
commit
c88953a815
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue