mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 09:14:18 +02:00
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:
parent
56ce017b4f
commit
9208125c06
@ -105,9 +105,15 @@
|
|||||||
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
|
||||||
|
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
|
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"
|
||||||
AddHP 1 3
|
AddHP 1 3
|
||||||
|
LogText "Result: no malware scanner found"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user