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:
authormboelen <michael@cisofy.com>2016-04-15 21:07:20 +0300
committermboelen <michael@cisofy.com>2016-04-15 21:07:20 +0300
commit1205511c9dd98bdf799d3f536cf54f6705e761f5 (patch)
tree48dfa073af8968bbafe621e65b2702f88f415d98 /include/tests_tooling
parente86f0522bf261f4311b82dd73ab7f56d33d50ccf (diff)
Change of variables for IDS/IPS and layout changes
Diffstat (limited to 'include/tests_tooling')
-rw-r--r--include/tests_tooling16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/tests_tooling b/include/tests_tooling
index 1c3d6a9a..407460cb 100644
--- a/include/tests_tooling
+++ b/include/tests_tooling
@@ -161,13 +161,13 @@
# Fail2ban presence
if [ ! "${FAIL2BANBINARY}" = "" ]; then
LogText "Result: Fail2ban is installed (${FAIL2BANBINARY})"
- IPS_TOOL_FOUND=1
+ IDS_IPS_TOOL_FOUND=1
+ report "ids_ips_tooling[]=fail2ban"
FAIL2BAN_FOUND=1
Report "IPS_tool_running[]=fail2ban-server"
Display --indent 2 --text "- Checking presence of Fail2ban" --result FOUND --color GREEN
else
LogText "Result: Fail2ban not present (fail2ban-server not found)"
- Display --indent 2 --text "- Checking presence of Fail2ban" --result "NOT FOUND" --color WHITE
fi
# Fail2ban configuration
@@ -268,16 +268,16 @@
#################################################################################
#
# Test : TOOL-5190
- # Description : Check for an IPS tool
- Register --test-no TOOL-5014 --weight L --network NO --description "Check presence of IPS tool"
+ # Description : Check for an IDS/IPS tool
+ Register --test-no TOOL-5014 --weight L --network NO --description "Check presence of IDS/IPS tool"
if [ ${SKIPTEST} -eq 0 ]; then
- if [ ${IPS_TOOL_FOUND} -eq 1 ]; then
- Display --indent 2 --text "- Checking for implemented IPS" --result FOUND --color GREEN
+ if [ ${IDS_IPS_TOOL_FOUND} -eq 1 ]; then
+ Display --indent 2 --text "- Checking for intrusion detection/prevention system" --result FOUND --color GREEN
AddHP 2 2
else
- Display --indent 2 --text "- Checking for implemented IPS" --result NONE --color YELLOW
- #ReportSuggestion ${TEST_NO} "Ensure that automatic intrusion prevention tools are installed"
+ Display --indent 2 --text "- Checking for intrusion detection/prevention system" --result NONE --color YELLOW
+ #ReportSuggestion ${TEST_NO} "Ensure that automatic intrusion detection/prevention tools are installed"
AddHP 0 2
fi
fi