Skip to content

Commit

Permalink
Small fixes to previous
Browse files Browse the repository at this point in the history
  • Loading branch information
raulikak committed May 29, 2024
1 parent 603a3c4 commit 561372e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tcsfw/builder_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def external_activity(self, value: ExternalActivity) -> Self:

def in_networks(self, *network: NetworkBuilder) -> Self:
self.entity.networks = [n.network for n in network]
return self

def software(self, name: Optional[str] = None) -> 'SoftwareBackend':
if name is None:
Expand Down
2 changes: 1 addition & 1 deletion tcsfw/traffic.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __eq__(self, v) -> bool:

class ServiceScan(Event):
"""Individual service scan result"""
def __init__(self, evidence: Evidence, endpoint: EndpointAddress, service_name=""):
def __init__(self, evidence: Evidence, endpoint: AnyAddress, service_name=""):
super().__init__(evidence)
self.endpoint = endpoint
self.service_name = service_name
Expand Down

0 comments on commit 561372e

Please sign in to comment.