From 16ac6b2e15f6858c67aad7c5d1a71ba251e23ebc Mon Sep 17 00:00:00 2001 From: vakarisz Date: Mon, 1 Aug 2022 10:50:29 +0300 Subject: [PATCH] Common: Improve documentation of ScanTargetConfiguration --- .../agent_configuration/agent_sub_configurations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index 310c88e18..d2b4c5aa8 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -58,11 +58,11 @@ class ScanTargetConfiguration: Configuration of network targets to scan and exploit Attributes: - :param blocked_ips: Tuple of IP's that won't be scanned. Example: ("1.1.1.1", "2.2.2.2") - :param inaccessible_subnets: Tuple of subnet ranges that shouldn't be accessible for the + :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: Boolean indicating if the agent should scan the local network - :param subnets: Tuple of subnet ranges to scan. Example: ("192.168.1.1-192.168.2.255", + :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") """