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>2014-09-15 14:01:09 +0400
committermboelen <michael@cisofy.com>2014-09-15 14:01:09 +0400
commitc9fde8c2d11744cc0875bc3e5dd0abf096211755 (patch)
tree0997d08919db7ec4e2aa9065c3e9aaf1671c4d6f /include/tests_file_integrity
parent35d32fb5e40b86632677fd2256aebeddf926394a (diff)
Code cleanup and small enhancements
Diffstat (limited to 'include/tests_file_integrity')
-rw-r--r--include/tests_file_integrity34
1 files changed, 17 insertions, 17 deletions
diff --git a/include/tests_file_integrity b/include/tests_file_integrity
index 4b0e1792..506a87e1 100644
--- a/include/tests_file_integrity
+++ b/include/tests_file_integrity
@@ -19,7 +19,7 @@
#################################################################################
#
InsertSection "Software: file integrity"
- Display --indent 2 --text "- Checking file integrity tools..."
+ Display --indent 2 --text "- Checking file integrity tools"
# Test : FINT-4310
@@ -30,10 +30,10 @@
if [ ! "${AFICKBINARY}" = "" ]; then
logtext "Result: AFICK is installed (${AFICKBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- AFICK..." --result FOUND --color GREEN
+ Display --indent 4 --text "- AFICK" --result FOUND --color GREEN
else
logtext "Result: AFICK is not installed"
- Display --indent 4 --text "- AFICK..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- AFICK" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -47,10 +47,10 @@
if [ ! "${AIDEBINARY}" = "" ]; then
logtext "Result: AIDE is installed (${AIDEBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- AIDE..." --result FOUND --color GREEN
+ Display --indent 4 --text "- AIDE" --result FOUND --color GREEN
else
logtext "Result: AIDE is not installed"
- Display --indent 4 --text "- AIDE..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- AIDE" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -112,10 +112,10 @@
if [ ! "${OSIRISBINARY}" = "" ]; then
logtext "Result: Osiris is installed (${OSIRISBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- Osiris..." --result FOUND --color GREEN
+ Display --indent 4 --text "- Osiris" --result FOUND --color GREEN
else
logtext "Result: Osiris is not installed"
- Display --indent 4 --text "- Osiris..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- Osiris" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -129,10 +129,10 @@
if [ ! "${SAMHAINBINARY}" = "" ]; then
logtext "Result: Samhain is installed (${SAMHAINBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- Samhain..." --result FOUND --color GREEN
+ Display --indent 4 --text "- Samhain" --result FOUND --color GREEN
else
logtext "Result: Samhain is not installed"
- Display --indent 4 --text "- Samhain..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- Samhain" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -146,10 +146,10 @@
if [ ! "${TRIPWIREBINARY}" = "" ]; then
logtext "Result: Tripwire is installed (${TRIPWIREBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- Tripwire..." --result FOUND --color GREEN
+ 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
+ Display --indent 4 --text "- Tripwire" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -163,9 +163,9 @@
IsRunning ossec-syscheckd
if [ ${RUNNING} -eq 1 ]; then
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- OSSEC (syscheck)..." --result FOUND --color GREEN
+ Display --indent 4 --text "- OSSEC (syscheck)" --result FOUND --color GREEN
else
- Display --indent 4 --text "- OSSEC (syscheck)..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- OSSEC (syscheck)" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -180,10 +180,10 @@
if [ ! "${MTREEBINARY}" = "" ]; then
logtext "Result: mtree is installed (${MTREEBINARY})"
FILE_INT_TOOL_FOUND=1
- Display --indent 4 --text "- mtree..." --result FOUND --color GREEN
+ Display --indent 4 --text "- mtree" --result FOUND --color GREEN
else
logtext "Result: mtree is not installed"
- Display --indent 4 --text "- mtree..." --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "- mtree" --result "NOT FOUND" --color WHITE
fi
fi
#
@@ -196,11 +196,11 @@
logtext "Test: Check if at least on file integrity tool is available/installed"
if [ ${FILE_INT_TOOL_FOUND} -eq 1 ]; then
logtext "Result: found at least one file integrity tool"
- Display --indent 2 --text "- Checking presence integrity tool..." --result FOUND --color GREEN
+ Display --indent 2 --text "- Checking presence integrity tool" --result FOUND --color GREEN
AddHP 5 5
else
logtext "Result: No file integrity tools found"
- Display --indent 2 --text "- Checking presence integrity tool..." --result "NOT FOUND" --color YELLOW
+ Display --indent 2 --text "- Checking presence integrity tool" --result "NOT FOUND" --color YELLOW
ReportSuggestion ${TEST_NO} "Install a file integrity tool"
AddHP 0 5
fi