diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index bd40f984e..92abb07c5 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -250,6 +250,23 @@ class NetworkScanConfiguration: targets: ScanTargetConfiguration +class Pydantic___NetworkScanConfiguration(MutableInfectionMonkeyBaseModel): + """ + 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: Pydantic___TCPScanConfiguration + icmp: Pydantic___ICMPScanConfiguration + fingerprinters: Tuple[Pydantic___PluginConfiguration, ...] + targets: Pydantic___ScanTargetConfiguration + + @dataclass(frozen=True) class ExploitationOptionsConfiguration: """