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>2016-06-11 15:45:17 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-06-11 15:45:17 +0300
commit52ad74c5ce9570421eb08f6eb7af8a693dc845f5 (patch)
tree1accc1210b95aa90da95c9092a594d700d17891e /include/tests_ssh
parent855d60812f8e1fcdea66a68c9571db065d04ef65 (diff)
[SSH-7408] Show SSH items as a suggestion on screen, like in the report
Diffstat (limited to 'include/tests_ssh')
-rw-r--r--include/tests_ssh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_ssh b/include/tests_ssh
index a78a44ef..bcbdf0c4 100644
--- a/include/tests_ssh
+++ b/include/tests_ssh
@@ -214,7 +214,7 @@
LogText "Result: SSH option ${OPTIONNAME} is in a weak configuration state and should be fixed"
ReportSuggestion ${TEST_NO} "Consider hardening SSH configuration" "${OPTIONNAME} (${FOUNDVALUE} --> ${EXPECTEDVALUE})" "-"
ReportDetails --test "${TEST_NO}" --service "sshd" --field "${OPTIONNAME}" --value "${FOUNDVALUE}" --preferredvalue "${EXPECTEDVALUE}" --description "sshd option ${OPTIONNAME}"
- Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result WARNING --color RED
+ Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result SUGGESTION --color RED
AddHP 0 3
elif [ "${RESULT}" = "UNKNOWN" ]; then
LogText "Result: Value of SSH option ${OPTIONNAME} is unknown (not defined)"