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:
authorSimon Biewald <simon@fam-biewald.de>2020-11-14 23:27:39 +0300
committerSimon Biewald <simon@fam-biewald.de>2020-11-14 23:34:43 +0300
commit0c686bb6ea4972423ad78c93f80449e1e862f6c1 (patch)
tree3d69179d5e3e69acf3c2dd6edec5d8ddec6add5e /include/tests_firewalls
parent7ec3b5b0d5fb8f4c91d97ae683a1d96f214b50b1 (diff)
Use the new status strings in tests
See-Also: HEAD^ Signed-off-by: Simon Biewald <simon@fam-biewald.de>
Diffstat (limited to 'include/tests_firewalls')
-rw-r--r--include/tests_firewalls4
1 files changed, 2 insertions, 2 deletions
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