From 0c686bb6ea4972423ad78c93f80449e1e862f6c1 Mon Sep 17 00:00:00 2001 From: Simon Biewald Date: Sat, 14 Nov 2020 20:27:39 +0000 Subject: Use the new status strings in tests See-Also: HEAD^ Signed-off-by: Simon Biewald --- include/tests_firewalls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tests_firewalls') diff --git a/include/tests_firewalls b/include/tests_firewalls index 4d0ba748..685f2452 100644 --- a/include/tests_firewalls +++ b/include/tests_firewalls @@ -539,7 +539,7 @@ Register --test-no FIRE-4590 --weight L --network NO --category security --description "Check firewall status" if [ ${SKIPTEST} -eq 0 ]; then if [ ${FIREWALL_ACTIVE} -eq 1 ]; then - Display --indent 2 --text "- Checking host based firewall" --result "ACTIVE" --color GREEN + Display --indent 2 --text "- Checking host based firewall" --result "${STATUS_ACTIVE}" --color GREEN LogText "Result: host based firewall or packet filter is active" Report "manual[]=Verify if there is a formal process for testing and applying firewall rules" Report "manual[]=Verify all traffic is filtered the right way between the different security zones" @@ -548,7 +548,7 @@ Report "manual[]=Make sure an explicit deny all is the default policy for all unmatched traffic" AddHP 5 5 else - Display --indent 2 --text "- Checking host based firewall" --result "NOT ACTIVE" --color YELLOW + Display --indent 2 --text "- Checking host based firewall" --result "${STATUS_NOT_ACTIVE}" --color YELLOW LogText "Result: no host based firewall/packet filter found or configured" ReportSuggestion "${TEST_NO}" "Configure a firewall/packet filter to filter incoming and outgoing traffic" AddHP 0 5 -- cgit v1.2.3