mirror of https://github.com/CISOfy/lynis.git
Warning added for missing AIDE config file (#303)
Warning given if AIDE is detected but no configuration file found. Without configuration file AIDE will not work.
This commit is contained in:
parent
3a69103a0e
commit
6c02d49de0
|
@ -83,7 +83,8 @@
|
|||
done
|
||||
|
||||
if [ -z "${AIDECONFIG}" ]; then
|
||||
Display --indent 6 --text "- AIDE config file" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
Display --indent 6 --text "- AIDE config file" --result "${STATUS_NOT_FOUND}" --color RED
|
||||
ReportWarning "${TEST_NO}" "No AIDE configuration file was found, needed for AIDE functionality"
|
||||
else
|
||||
LogText "Checking configuration file ${AIDECONFIG} for errors"
|
||||
FIND=$(${AIDEBINARY} --config=${AIDECONFIG} -D)
|
||||
|
|
Loading…
Reference in New Issue