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:
authormarcus-cr <marcus-cr@users.noreply.github.com>2016-10-26 13:28:47 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-10-26 13:28:47 +0300
commit6c02d49de090d23409853ec63dda3b624714356c (patch)
tree3100cafee2302cc8b8ea7afb68e817c658263677 /include/tests_file_integrity
parent3a69103a0e9ac2ecb6a49db69d3932c06b63a30d (diff)
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.
Diffstat (limited to 'include/tests_file_integrity')
-rw-r--r--include/tests_file_integrity3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_file_integrity b/include/tests_file_integrity
index 687853ff..4f3f6237 100644
--- a/include/tests_file_integrity
+++ b/include/tests_file_integrity
@@ -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)