mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 22:04:39 +02:00
[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"
|
Register --test-no FINT-4328 --weight L --network NO --category security --description "OSSEC syscheck daemon running"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
LogText "Test: Checking if OSSEC syscheck daemon is running"
|
LogText "Test: Checking if OSSEC syscheck daemon is running"
|
||||||
IsRunning ossec-syscheckd
|
if IsRunning "ossec-syscheckd"; then
|
||||||
if [ ${RUNNING} -eq 1 ]; then
|
LogText "Result: syscheck (OSSEC) active"
|
||||||
LogText "Result: syscheck (OSSEC) installed"
|
|
||||||
Report "file_integrity_tool[]=ossec"
|
Report "file_integrity_tool[]=ossec"
|
||||||
FILE_INT_TOOL="ossec-syscheck"
|
FILE_INT_TOOL="ossec-syscheck"
|
||||||
FILE_INT_TOOL_FOUND=1
|
FILE_INT_TOOL_FOUND=1
|
||||||
Display --indent 4 --text "- OSSEC (syscheck)" --result "${STATUS_FOUND}" --color GREEN
|
Display --indent 4 --text "- OSSEC (syscheck)" --result "${STATUS_FOUND}" --color GREEN
|
||||||
else
|
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
|
if IsVerbose; then Display --indent 4 --text "- OSSEC" --result "${STATUS_NOT_FOUND}" --color WHITE; fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user