mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-21 12:54:33 +02:00
Style improvements
This commit is contained in:
parent
e54bae0c6d
commit
4886054187
@ -61,7 +61,7 @@
|
|||||||
Report "compiler[]=${ASBINARY}"
|
Report "compiler[]=${ASBINARY}"
|
||||||
AddHP 2 3
|
AddHP 2 3
|
||||||
HARDEN_COMPILERS_NEEDED=1
|
HARDEN_COMPILERS_NEEDED=1
|
||||||
else
|
else
|
||||||
AddHP 3 3
|
AddHP 3 3
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -73,7 +73,7 @@
|
|||||||
Report "compiler[]=${GCCBINARY}"
|
Report "compiler[]=${GCCBINARY}"
|
||||||
AddHP 2 3
|
AddHP 2 3
|
||||||
HARDEN_COMPILERS_NEEDED=1
|
HARDEN_COMPILERS_NEEDED=1
|
||||||
else
|
else
|
||||||
AddHP 3 3
|
AddHP 3 3
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -105,10 +105,10 @@
|
|||||||
AddHP 3 3
|
AddHP 3 3
|
||||||
else
|
else
|
||||||
LogText "Result: no malware scanner found"
|
LogText "Result: no malware scanner found"
|
||||||
if [$MACHINE_ROLE = "personal"]; then
|
if [ "${MACHINE_ROLE}" = "personal"]; then
|
||||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||||
else
|
else
|
||||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
||||||
fi
|
fi
|
||||||
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
|
||||||
ReportSuggestion ${TEST_NO} "Harden the system by installing at least one malware scanner, to perform periodic file system scans" "-" "Install a tool like rkhunter, chkrootkit, OSSEC"
|
ReportSuggestion ${TEST_NO} "Harden the system by installing at least one malware scanner, to perform periodic file system scans" "-" "Install a tool like rkhunter, chkrootkit, OSSEC"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user