mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Display a missing logrotate file as a suggestion
This commit is contained in:
parent
6d8a9aa3a3
commit
d9548e8524
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@
|
|||
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_OK}" --color GREEN
|
||||
LogText "Result: logrotate configuration found"
|
||||
else
|
||||
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_WARNING}" --color RED
|
||||
Display --indent 2 --text "- Checking logrotate presence" --result "${STATUS_NOT_FOUND}" --color WHITE
|
||||
LogText "Result: No logrotate configuration found"
|
||||
ReportSuggestion "${TEST_NO}" "Check if log files are properly rotated"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue