Skip to content

Commit

Permalink
fix: update_acl_rule() module overwriting action from drop to accept (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mamullen13316 authored Aug 9, 2024
1 parent a17f4fd commit 961c8fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "sophosfirewall-python"
packages = [
{ include = "sophosfirewall_python" },
]
version = "0.1.46"
version = "0.1.47"
description = "Python SDK for Sophos Firewall"
authors = ["Matt Mullen <[email protected]>"]
readme = "README.md"
Expand Down
4 changes: 3 additions & 1 deletion sophosfirewall_python/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ def update(self, name, description, source_zone, source_list, dest_list, service
"source_zone": source_zone,
"source_list": exist_sources,
"dest_list": exist_dests,
"service_list": exist_services}
"service_list": exist_services,
"action": action
}

resp = self.client.submit_template(
"updateserviceacl.j2", template_vars=template_vars, debug=debug
Expand Down

0 comments on commit 961c8fd

Please sign in to comment.