mirror of https://github.com/CISOfy/lynis.git
Report a warning if no logrotate configuration is found
Previously the text of the report would suggest a warning but report it as a suggestions. This was an inconsistency in the reporting as a warning was displayed in the report, but the summary showed Great, no warnings in case no other warning was reported.
This commit is contained in:
parent
6d8a9aa3a3
commit
20434f3f24
|
@ -267,7 +267,7 @@
|
|||
else
|
||||
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_WARNING}" --color RED
|
||||
LogText "Result: No logrotate configuration found"
|
||||
ReportSuggestion "${TEST_NO}" "Check if log files are properly rotated"
|
||||
ReportWarning "${TEST_NO}" "Check if log files are properly rotated"
|
||||
fi
|
||||
fi
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue