From d49604274dc5d9e47a4e6961cf5592b63e7798e9 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 27 Jul 2022 16:30:30 +0530 Subject: [PATCH] Common: Add docstring to NetworkScanConfiguration dataclass --- .../agent_configuration/agent_sub_configurations.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index 188b9d1bb..4afa7db23 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -52,6 +52,16 @@ class TCPScanConfiguration: @dataclass(frozen=True) class NetworkScanConfiguration: + """ + A configuration for network scanning + + Attributes: + :param tcp: Configuration for TCP scanning + :param icmp: Configuration for ICMP scanning + :param fingerprinters: Configuration for fingerprinters to run + :param targets: Configuration for targets to scan + """ + tcp: TCPScanConfiguration icmp: ICMPScanConfiguration fingerprinters: Tuple[PluginConfiguration, ...]