From d2d9d4c4c3ccc1ac6c18296828118edd820a75ed Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 1 Aug 2022 09:16:00 -0400 Subject: [PATCH] Common: Reformat ScanTargetConfiguration docstrings --- .../agent_sub_configurations.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index d2b4c5aa8..4ed94d7a8 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -58,12 +58,14 @@ class ScanTargetConfiguration: Configuration of network targets to scan and exploit Attributes: - :param blocked_ips: IP's that won't be scanned. Example: ("1.1.1.1", "2.2.2.2") - :param inaccessible_subnets: Subnet ranges that shouldn't be accessible for the - agent. Example: ("1.1.1.1", "2.2.2.2/24", "myserver") - :param local_network_scan: Indicating if the agent should scan the local network - :param subnets: Subnet ranges to scan. Example: ("192.168.1.1-192.168.2.255", - "3.3.3.3", "2.2.2.2/24", "myHostname") + :param blocked_ips: IP's that won't be scanned + Example: ("1.1.1.1", "2.2.2.2") + :param inaccessible_subnets: Subnet ranges that shouldn't be accessible for the agent + Example: ("1.1.1.1", "2.2.2.2/24", "myserver") + :param local_network_scan: Whether or not the agent should scan the local network + :param subnets: Subnet ranges to scan + Example: ("192.168.1.1-192.168.2.255", "3.3.3.3", "2.2.2.2/24", + "myHostname") """ blocked_ips: Tuple[str, ...]