[SSH-7408] Show SSH items as a suggestion on screen, like in the report

This commit is contained in:
Michael Boelen 2016-06-11 14:45:17 +02:00
parent 855d60812f
commit 52ad74c5ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)"