From 1205511c9dd98bdf799d3f536cf54f6705e761f5 Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 15 Apr 2016 20:07:20 +0200 Subject: Change of variables for IDS/IPS and layout changes --- include/tests_tooling | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/tests_tooling') 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 -- cgit v1.2.3