diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-12-18 14:17:46 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-12-18 14:17:46 +0300 |
commit | 09f29a5e64d4eb0fbbec2a0a503fa173a973b898 (patch) | |
tree | 18631dc8b10382e2eddb633d7fbcd03f3c87dbd1 /include/tests_webservers | |
parent | 94ba30e765d02ce638e01d731882f8b7086506e2 (diff) |
Code style improvement: quote argument
Diffstat (limited to 'include/tests_webservers')
-rw-r--r-- | include/tests_webservers | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/tests_webservers b/include/tests_webservers index 01bb3f93..54db20d7 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -257,7 +257,7 @@ else Display --indent 10 --text "mod_evasive: anti-DoS/brute force" --result "${STATUS_NOT_FOUND}" --color WHITE AddHP 2 3 - ReportSuggestion ${TEST_NO} "Install Apache mod_evasive to guard webserver against DoS/brute force attempts" + ReportSuggestion "${TEST_NO}" "Install Apache mod_evasive to guard webserver against DoS/brute force attempts" fi fi # @@ -276,7 +276,7 @@ else Display --indent 10 --text "mod_reqtimeout/mod_qos" --result "${STATUS_NOT_FOUND}" --color WHITE AddHP 2 3 - ReportSuggestion ${TEST_NO} "Install Apache mod_reqtimeout or mod_qos to guard webserver against Slowloris attacks" + ReportSuggestion "${TEST_NO}" "Install Apache mod_reqtimeout or mod_qos to guard webserver against Slowloris attacks" fi fi # @@ -294,7 +294,7 @@ else Display --indent 10 --text "ModSecurity: web application firewall" --result "${STATUS_NOT_FOUND}" --color WHITE AddHP 2 3 - ReportSuggestion ${TEST_NO} "Install Apache modsecurity to guard webserver against web application attacks" + ReportSuggestion "${TEST_NO}" "Install Apache modsecurity to guard webserver against web application attacks" fi fi # @@ -480,7 +480,7 @@ else LogText "Result: No SSL configuration found" Display --indent 6 --text "- SSL configured" --result "${STATUS_NO}" --color RED - ReportSuggestion ${TEST_NO} "Add HTTPS to nginx virtual hosts for enhanced protection of sensitive data and privacy" + ReportSuggestion "${TEST_NO}" "Add HTTPS to nginx virtual hosts for enhanced protection of sensitive data and privacy" AddHP 1 5 fi if [ ${NGINX_SSL_SUGGESTION} -eq 1 ]; then @@ -520,7 +520,7 @@ fi # Report suggestion if [ ${NGINX_LOG_SUGGESTION} -eq 1 ]; then - ReportSuggestion ${TEST_NO} "Check your nginx access log for proper functioning" + ReportSuggestion "${TEST_NO}" "Check your nginx access log for proper functioning" fi fi # @@ -541,7 +541,7 @@ fi # Report suggestion if [ ${NGINX_LOG_SUGGESTION} -eq 1 ]; then - ReportSuggestion ${TEST_NO} "Check your nginx error_log statements" + ReportSuggestion "${TEST_NO}" "Check your nginx error_log statements" fi fi # @@ -566,7 +566,7 @@ fi # Report suggestion if [ ${NGINX_LOG_SUGGESTION} -eq 1 ]; then - ReportSuggestion ${TEST_NO} "Check your nginx error_log statements and disable debug mode" + ReportSuggestion "${TEST_NO}" "Check your nginx error_log statements and disable debug mode" fi fi # |