mirror of https://github.com/CISOfy/lynis.git
[TOOL-5160] OSSEC detection test
This commit is contained in:
parent
c94b97bd9e
commit
de7d64a8a0
|
@ -362,6 +362,23 @@
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
#
|
||||||
|
# Test : TOOL-5160
|
||||||
|
# Description : Check for OSSEC
|
||||||
|
Register --test-no TOOL-5126 --weight L --network NO --category security --description "Check for presence of Snort"
|
||||||
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
|
|
||||||
|
if IsRunning "ossec-analysisd"; then
|
||||||
|
IDS_IPS_TOOL_FOUND=1
|
||||||
|
LogText "Result: OSSEC analysis daemon is active"
|
||||||
|
Report "ids_ips_tooling[]=ossec"
|
||||||
|
Display --indent 2 --text "- Checking presence of OSSEC" --result "${STATUS_FOUND}" --color GREEN
|
||||||
|
else
|
||||||
|
LogText "Result: OSSEC analysis daemon not active"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
#
|
||||||
|
#################################################################################
|
||||||
#
|
#
|
||||||
# Test : TOOL-5190
|
# Test : TOOL-5190
|
||||||
# Description : Check for an IDS/IPS tool
|
# Description : Check for an IDS/IPS tool
|
||||||
|
|
Loading…
Reference in New Issue