Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-11-29 18:22:59 +0300
committermboelen <michael@cisofy.com>2014-11-29 18:22:59 +0300
commit19cf98dd824e243b78ee69d533a66877b566e3ca (patch)
treeb92bf3a3168fb468f02c8aaf6b9aa6dab4b1989c /include/report
parent376b37f25063ac3b30471db5241af9210ff7118c (diff)
Show if compliance tests have been performed in report output
Diffstat (limited to 'include/report')
-rw-r--r--include/report11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/report b/include/report
index 01947c75..ca10eac8 100644
--- a/include/report
+++ b/include/report
@@ -160,17 +160,14 @@
echo " ${CYAN}Plugins enabled${NORMAL} : ${WHITE}${N_PLUGIN_ENABLED}${NORMAL}"
echo ""
echo " ${SECTION}Lynis Modules${NORMAL}:"
- # Heuristics will be implemented later
- echo " - Heuristics Check [${WHITE}NA${NORMAL}] - Security Audit [${GREEN}V${NORMAL}] - Vulnerability Scan [${GREEN}V${NORMAL}]"
- echo ""
- echo " ${SECTION}Compliance Checks${NORMAL}:"
- # Compliance checks and status will be marked in upcoming releases
- echo " - HIPAA [${WHITE}NA${NORMAL}] - PCI [${WHITE}NA${NORMAL}] - SOx [${WHITE}NA${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
+ echo " - Compliance Tests [${COMPLIANCE}${NORMAL}] - Vulnerability Scan [${GREEN}V${NORMAL}]"
echo ""
echo " ${SECTION}Files${NORMAL}:"
echo " - Test and debug information : ${WHITE}${LOGFILE}${NORMAL}"
echo " - Report data : ${WHITE}${REPORTFILE}${NORMAL}"
+ echo ""
echo "================================================================================"
if [ ${PROGRAM_LV} -gt ${PROGRAM_AC} ]; then
echo " ${NOTICE}Notice: ${WHITE}${PROGRAM_name} update available${NORMAL}"