diff options
author | mboelen <michael@cisofy.com> | 2015-04-07 18:18:54 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-04-07 18:18:54 +0300 |
commit | 7785c5a61081844a31c70ba96699226d73351fb1 (patch) | |
tree | ac33e828dea378570da72a43a7f5bc53ba0ab34c /include/report | |
parent | d76a5d04c38afd8b37bb7adb6636bbb5aa6a74d4 (diff) |
Improved report output
Diffstat (limited to 'include/report')
-rw-r--r-- | include/report | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/report b/include/report index 7b791d02..82b69c6b 100644 --- a/include/report +++ b/include/report @@ -154,12 +154,20 @@ echo "" fi echo "================================================================================" - echo " ${WHITE}Lynis Scanner (details)${NORMAL}:" + echo "" + echo " ${WHITE}Lynis security scan details${NORMAL}:" echo "" echo " ${CYAN}Hardening index${NORMAL} : ${WHITE}${HPINDEX}${NORMAL} ${HPGRAPH}" echo " ${CYAN}Tests performed${NORMAL} : ${WHITE}${CTESTS_PERFORMED}${NORMAL}" echo " ${CYAN}Plugins enabled${NORMAL} : ${WHITE}${N_PLUGIN_ENABLED}${NORMAL}" echo "" + echo " ${WHITE}Quick overview${NORMAL}:" + if [ ${FIREWALL_ACTIVE} -eq 1 ]; then FIREWALL="${GREEN}V"; else FIREWALL="${RED}X"; fi + if [ ${MALWARE_SCANNER_INSTALLED} -eq 1 ]; then MALWARE="${GREEN}V"; else MALWARE="${RED}X"; fi + + echo " - Firewall [${FIREWALL}${NORMAL}] - Malware scanner [${MALWARE}${NORMAL}]" + + echo "" echo " ${SECTION}Lynis Modules${NORMAL}:" echo " - Heuristics Check [${WHITE}NA${NORMAL}] - Security Audit [${GREEN}V${NORMAL}]" if [ ${LYNIS_COMPLIANCE_TESTS} -eq 1 ]; then COMPLIANCE="${GREEN}V"; else COMPLIANCE="${RED}X"; fi |