Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tests_tooling17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/tests_tooling b/include/tests_tooling
index 3112ef0c..6dc486ba 100644
--- a/include/tests_tooling
+++ b/include/tests_tooling
@@ -363,6 +363,23 @@
#
#################################################################################
#
+ # 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
# Description : Check for an IDS/IPS tool
Register --test-no TOOL-5190 --weight L --network NO --category security --description "Check presence of IDS/IPS tool"