File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
sophos_firewall_audit/rules Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " sophos-firewall-audit"
3- version = " 1.0.18 "
3+ version = " 1.0.19 "
44description = " Sophos Firewall Audit"
55authors = [" Matt Mullen <matt.mullen@sophos.com>" ]
66readme = " README.md"
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def eval_syslog(fw_obj: SophosFirewall,
5959 settings_dict [key ] = {}
6060 settings_dict [key ]["Name" ] = container_name
6161 settings_dict [key ]["Expected" ] = settings_container [key ]
62- if key == "Format" :
62+ if key == "Format" and container_name in actual_settings :
6363 if actual_settings [container_name ][key ] == "3" :
6464 actual_settings [container_name ][key ] = "Standard syslog"
6565 settings_dict [key ]["Actual" ] = actual_settings [container_name ][key ] if container_name in actual_settings else f"{ container_name } not configured!"
You can’t perform that action at this time.
0 commit comments