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:
authorMichael Boelen <michael.boelen@cisofy.com>2019-01-14 13:13:03 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-01-14 13:13:03 +0300
commit11368b4ca8bf830a3ed833f697cd963050bb200f (patch)
tree85085a60356f2a7b3fad044ee0e46f8c6bbfdbd4 /include/tests_banners
parentd2c03c05df918428dcf6042d2622e115fd4cae02 (diff)
Added STATUS_WEAK
Diffstat (limited to 'include/tests_banners')
-rw-r--r--include/tests_banners4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_banners b/include/tests_banners
index fce9f5dc..729eabbd 100644
--- a/include/tests_banners
+++ b/include/tests_banners
@@ -107,7 +107,7 @@
AddHP 2 2
else
LogText "Result: Found only ${COUNT} key words (5 or more suggested), to warn unauthorized users and could be increased"
- Display --indent 4 --text "- ${FILE} contents" --result WEAK --color YELLOW
+ Display --indent 4 --text "- ${FILE} contents" --result "${STATUS_WEAK}" --color YELLOW
ReportSuggestion ${TEST_NO} "Add a legal banner to ${FILE}, to warn unauthorized users"
AddHP 0 1
Report "weak_banner_file[]=${FILE}"
@@ -160,7 +160,7 @@
AddHP 2 2
else
LogText "Result: Found only ${COUNT} key words, to warn unauthorized users and could be increased"
- Display --indent 4 --text "- ${ROOTDIR}etc/issue.net contents" --result WEAK --color YELLOW
+ Display --indent 4 --text "- ${ROOTDIR}etc/issue.net contents" --result "${STATUS_WEAK}" --color YELLOW
ReportSuggestion ${TEST_NO} "Add legal banner to /etc/issue.net, to warn unauthorized users"
AddHP 0 1
fi