Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sophos-firewall-audit"
version = "1.0.18"
version = "1.0.19"
description = "Sophos Firewall Audit"
authors = ["Matt Mullen <matt.mullen@sophos.com>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sophos_firewall_audit/rules/syslog.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def eval_syslog(fw_obj: SophosFirewall,
settings_dict[key] = {}
settings_dict[key]["Name"] = container_name
settings_dict[key]["Expected"] = settings_container[key]
if key == "Format":
if key == "Format" and container_name in actual_settings:
if actual_settings[container_name][key] == "3":
actual_settings[container_name][key] = "Standard syslog"
settings_dict[key]["Actual"] = actual_settings[container_name][key] if container_name in actual_settings else f"{container_name} not configured!"
Expand Down