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:
authorMichael Boelen <michael.boelen@cisofy.com>2019-08-21 14:41:23 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-21 14:41:23 +0300
commitee18e76e976eef981a36a702b6ee0504f0cce645 (patch)
treefb42518b0249377433d1b177f195036710c95059 /include/report
parenta7145688423c6a36b9394a0a8162b3dd59e61158 (diff)
Preparations for forensics scan mode
Diffstat (limited to 'include/report')
-rw-r--r--include/report14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/report b/include/report
index c340da53..1ec93ffa 100644
--- a/include/report
+++ b/include/report
@@ -215,6 +215,20 @@
echo " - Malware scanner [${MALWARE}${NORMAL}]"
echo ""
+ echo " ${SECTION}Scan mode${NORMAL}:"
+ if [ ${FORENSICS} -eq 1 ]; then
+ echo " Normal [ ] Forensics [V] Pentest [ ]"
+ elif [ ${PENTESTINGMODE} -eq 1 ]; then
+ if [ ${PRIVILEGED} -eq 0 ]; then
+ echo " Normal [ ] Forensics [ ] Pentest [V] (running non-privileged)"
+ else
+ echo " Normal [ ] Forensics [ ] Pentest [V] (running privileged)"
+ fi
+ else
+ echo " Normal [V] Forensics [ ] Pentest [ ]"
+ fi
+ echo ""
+
echo " ${SECTION}Lynis modules${NORMAL}:"
if [ ${COMPLIANCE_TESTS_PERFORMED} -eq 1 ]; then
if [ ${COMPLIANCE_FINDINGS_FOUND} -eq 0 ]; then COMPLIANCE="${GREEN}V"; else COMPLIANCE="${RED}X"; fi