Skip to content

Commit

Permalink
Allow to skip the security scan
Browse files Browse the repository at this point in the history
This patch allows users to skip the initial security scan when
registering an IP address with the firewall.
  • Loading branch information
lkiesow committed Nov 29, 2023
1 parent 08bf15c commit 066befc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deterrersapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def update(self, ipv4: str,
data['admin_ids'] = admins
return self.__patch('host/', data)

def action(self, ipv4: str, action: str) -> None:
def action(self, ipv4: str, action: str, skip_scan: bool = False) -> None:
'''Activate firewall profile or block IP address in perimeter firewall.
:param ipv4: IPv4 address to update
Expand Down

0 comments on commit 066befc

Please sign in to comment.