mirror of https://github.com/CISOfy/lynis.git
Update tests_system_integrity (#627)
https://github.com/CISOfy/lynis/issues/626
This commit is contained in:
parent
7d3ba95854
commit
7fded881d8
|
@ -34,7 +34,7 @@
|
|||
Register --test-no SINT-7010 --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 Protectioni (status)" --result "${STATUS_OK}" --color GREEN
|
||||
Display --indent 2 --text "- System Integrity Protection (status)" --result "${STATUS_OK}" --color GREEN
|
||||
Report "system_integrity_tool[]=mac-sip"
|
||||
LogText "Result: SIP enabled, OK"
|
||||
AddHP 3 3
|
||||
|
|
Loading…
Reference in New Issue