Malware Scanner Colors for Personal Machine Role (#301)

Results for malware scanner will show  different color for “personal”
machine-roles (in yellow) rather than the other roles (in red).

Added for leniency towards typical personal PC users for not having
malware scanner (should be a suggestion).

Also included log text result if no scanner found, regardless of
machine-role.
This commit is contained in:
marcus-cr 2016-10-26 06:36:31 -04:00 committed by Michael Boelen
parent 56ce017b4f
commit 9208125c06
1 changed files with 6 additions and 0 deletions

View File

@ -105,9 +105,15 @@
AddHP 3 3
else
LogText "Result: no malware scanner found"
if [$MACHINE_ROLE = "personal"]; then
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color YELLOW
else
Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED
fi
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"
AddHP 1 3
LogText "Result: no malware scanner found"
fi
fi
#