mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1481 from vk6xebec/vk6xebec-macafee-1
McAfee antivirus has been deprecated
This commit is contained in:
commit
f22bfb5c6a
|
@ -46,23 +46,18 @@
|
||||||
TRENDMICRO_DSA_DAEMON_RUNNING=0
|
TRENDMICRO_DSA_DAEMON_RUNNING=0
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
# Test : MALW-3274
|
||||||
# Test : MALW-3274
|
# Description : Check for installed tool (McAfee VirusScan for Command Line)
|
||||||
# Description : Check for installed tool (McAfee VirusScan for Command Line)
|
Register --test-no MALW-3274 --weight L --network NO --category security --description "Check for McAfee VirusScan Command Line"
|
||||||
Register --test-no MALW-3274 --weight L --network NO --category security --description "Check for McAfee VirusScan Command Line"
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
LogText "Test: checking presence McAfee VirusScan for Command Line"
|
||||||
LogText "Test: checking presence McAfee VirusScan for Command Line"
|
if [ -x /usr/local/uvscan/uvscan ]; then
|
||||||
if [ -x /usr/local/uvscan/uvscan ]; then
|
Display --indent 2 --text "- ${GEN_CHECKING} McAfee VirusScan for Command Line" --result "${STATUS_FOUND}" --color RED
|
||||||
Display --indent 2 --text "- ${GEN_CHECKING} McAfee VirusScan for Command Line" --result "${STATUS_FOUND}" --color GREEN
|
LogText "Result: Found ${MCAFEECLBINARY}"
|
||||||
LogText "Result: Found ${MCAFEECLBINARY}"
|
MALWARE_SCANNER_INSTALLED=0
|
||||||
MALWARE_SCANNER_INSTALLED=1
|
AddHP 0 2
|
||||||
AddHP 2 2
|
LogText "Result: McAfee Antivirus for Linux has been deprecated as of 1 Oct 2023 and will not receive updates. Please use another antivirus instead."
|
||||||
Report "malware_scanner[]=mcafeecl"
|
fi
|
||||||
else
|
|
||||||
LogText "Result: McAfee VirusScan for Command Line not found"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
#
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
# Test : MALW-3275
|
# Test : MALW-3275
|
||||||
|
|
Loading…
Reference in New Issue