"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/tests_system_integrity" between
lynis-3.0.1.tar.gz and lynis-3.0.2.tar.gz

About: Lynis is a security and system auditing tool.

tests_system_integrity  (lynis-3.0.1):tests_system_integrity  (lynis-3.0.2)
skipping to change at line 28 skipping to change at line 28
# #
################################################################################ # ################################################################################ #
# #
AIDECONFIG="" AIDECONFIG=""
CSF_CONFIG="${ROOTDIR}etc/csf/csf.conf" CSF_CONFIG="${ROOTDIR}etc/csf/csf.conf"
FILE_INT_TOOL="" FILE_INT_TOOL=""
FILE_INT_TOOL_FOUND=0 # Boolean, file integrity tool found FILE_INT_TOOL_FOUND=0 # Boolean, file integrity tool found
# #
################################################################################ # ################################################################################ #
# #
InsertSection "Software: system integrity" InsertSection "${SECTION_SYSTEM_INTEGRITY}"
Display --indent 2 --text "- Checking file integrity tools" Display --indent 2 --text "- Checking file integrity tools"
# #
################################################################################ # ################################################################################ #
# #
if [ -x ${ROOTDIR}/usr/bin/csrutil ]; then PREQS_MET="YES"; else PREQS_MET=" NO"; SKIPREASON="No CSrutil binary found"; fi 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 --os MacOS --preqs-met ${PREQS_MET} --skip-reas on "${SKIPREASON}" --weight H --network NO --category security --description "Sy stem Integrity Status" Register --test-no SINT-7010 --os MacOS --preqs-met ${PREQS_MET} --skip-reas on "${SKIPREASON}" --weight H --network NO --category security --description "Sy stem Integrity Status"
if [ ${SKIPTEST} -eq 0 ]; then if [ ${SKIPTEST} -eq 0 ]; then
if ${ROOTDIR}usr/bin/csrutil status | ${GREPBINARY} -sq enabled ; then if ${ROOTDIR}usr/bin/csrutil status | ${GREPBINARY} -sq enabled ; then
Display --indent 2 --text "- System Integrity Protection (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" Report "system_integrity_tool[]=mac-sip"
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)