mirror of https://github.com/CISOfy/lynis.git
[FINT-4328] correct text in log
This commit is contained in:
parent
0d21ba5e52
commit
2e7c6c7816
|
@ -161,15 +161,14 @@
|
|||
Register --test-no FINT-4328 --weight L --network NO --category security --description "OSSEC syscheck daemon running"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
LogText "Test: Checking if OSSEC syscheck daemon is running"
|
||||
IsRunning ossec-syscheckd
|
||||
if [ ${RUNNING} -eq 1 ]; then
|
||||
LogText "Result: syscheck (OSSEC) installed"
|
||||
if IsRunning "ossec-syscheckd"; then
|
||||
LogText "Result: syscheck (OSSEC) active"
|
||||
Report "file_integrity_tool[]=ossec"
|
||||
FILE_INT_TOOL="ossec-syscheck"
|
||||
FILE_INT_TOOL_FOUND=1
|
||||
Display --indent 4 --text "- OSSEC (syscheck)" --result "${STATUS_FOUND}" --color GREEN
|
||||
else
|
||||
LogText "Result: syscheck (OSSEC) not installed"
|
||||
LogText "Result: syscheck (OSSEC) is not active"
|
||||
if IsVerbose; then Display --indent 4 --text "- OSSEC" --result "${STATUS_NOT_FOUND}" --color WHITE; fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue