diff --git a/monkey/common/agent_configuration/agent_sub_configuration_schemas.py b/monkey/common/agent_configuration/agent_sub_configuration_schemas.py index 3c46cd0fe..8ea68df40 100644 --- a/monkey/common/agent_configuration/agent_sub_configuration_schemas.py +++ b/monkey/common/agent_configuration/agent_sub_configuration_schemas.py @@ -85,7 +85,7 @@ class ScanTargetConfigurationSchema(Schema): class ICMPScanConfigurationSchema(Schema): - timeout = fields.Float() + timeout = fields.Float(validate=validate.Range(min=0)) @post_load def _make_icmp_scan_configuration(self, data, **kwargs):