From f3bd9ca9ad4266eff8f4ad8d632fe07f8b30cffe Mon Sep 17 00:00:00 2001 From: mboelen Date: Sun, 17 May 2015 23:22:54 +0200 Subject: [PATCH] Display only the tools actually found, to keep screen output as clean as possible --- include/tests_file_integrity | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/tests_file_integrity b/include/tests_file_integrity index 0fe987c5..7bdc2072 100644 --- a/include/tests_file_integrity +++ b/include/tests_file_integrity @@ -160,7 +160,6 @@ Display --indent 4 --text "- Tripwire" --result FOUND --color GREEN else logtext "Result: Tripwire is not installed" - Display --indent 4 --text "- Tripwire" --result "NOT FOUND" --color WHITE fi fi # @@ -178,7 +177,6 @@ FILE_INT_TOOL_FOUND=1 Display --indent 4 --text "- OSSEC (syscheck)" --result FOUND --color GREEN else - Display --indent 4 --text "- OSSEC (syscheck)" --result "NOT FOUND" --color WHITE logtext "Result: syscheck (OSSEC) not installed" fi fi @@ -263,7 +261,7 @@ else logtext "Result: No file integrity tools found" Display --indent 2 --text "- Checking presence integrity tool" --result "NOT FOUND" --color YELLOW - ReportSuggestion ${TEST_NO} "Install a file integrity tool" + ReportSuggestion ${TEST_NO} "Install a file integrity tool to monitor changes to critical and sensitive files" AddHP 0 5 fi fi