diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
commit | 983e293eb157131ca5e085e4927ea5fc220edc73 (patch) | |
tree | cc5e8bea4af5cfa53f57a73d2c61357f47165857 /include/tests_hardening | |
parent | 9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff) |
Replaced text strings to allow translations
Diffstat (limited to 'include/tests_hardening')
-rw-r--r-- | include/tests_hardening | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tests_hardening b/include/tests_hardening index 663477c8..b7f0b7a3 100644 --- a/include/tests_hardening +++ b/include/tests_hardening @@ -33,11 +33,11 @@ LogText "Test: Check if one or more compilers can be found on the system" if [ ${COMPILER_INSTALLED} -eq 0 ]; then LogText "Result: no compilers found" - Display --indent 4 --text "- Installed compiler(s)" --result "NOT FOUND" --color GREEN + Display --indent 4 --text "- Installed compiler(s)" --result "${STATUS_NOT_FOUND}" --color GREEN AddHP 3 3 else LogText "Result: found installed compiler. See top of logfile which compilers have been found or use grep to filter on 'compiler'" - Display --indent 4 --text "- Installed compiler(s)" --result "FOUND" --color RED + Display --indent 4 --text "- Installed compiler(s)" --result "${STATUS_FOUND}" --color RED AddHP 1 3 fi fi @@ -84,7 +84,7 @@ fi #YYY check if compilers have a specific group (like compiler, or NOT root/wheel) -# Display --indent 4 --text "- Installed compiler(s)" --result "FOUND" --color RED +# Display --indent 4 --text "- Installed compiler(s)" --result "${STATUS_FOUND}" --color RED # /usr/bin/*cc* # /usr/bin/*++* # /usr/bin/ld @@ -101,11 +101,11 @@ LogText "Test: Check if a malware scanner is installed" if [ ${MALWARE_SCANNER_INSTALLED} -eq 1 ]; then LogText "Result: found at least one malware scanner" - Display --indent 4 --text "- Installed malware scanner" --result "FOUND" --color GREEN + Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_FOUND}" --color GREEN AddHP 3 3 else LogText "Result: no malware scanner found" - Display --indent 4 --text "- Installed malware scanner" --result "NOT FOUND" --color RED + Display --indent 4 --text "- Installed malware scanner" --result "${STATUS_NOT_FOUND}" --color RED ReportSuggestion ${TEST_NO} "Harden the system by installing at least one malware scanner, to perform periodic file system scans" AddHP 1 3 fi |