diff --git a/monkey/common/agent_configuration/agent_sub_configuration_schemas.py b/monkey/common/agent_configuration/agent_sub_configuration_schemas.py index e666407ac..88c12ddee 100644 --- a/monkey/common/agent_configuration/agent_sub_configuration_schemas.py +++ b/monkey/common/agent_configuration/agent_sub_configuration_schemas.py @@ -135,7 +135,7 @@ class ExploitationConfigurationSchema(Schema): class PropagationConfigurationSchema(Schema): - maximum_depth = fields.Int(validate=validate.Range(min=1)) + maximum_depth = fields.Int(validate=validate.Range(min=0)) network_scan = fields.Nested(NetworkScanConfigurationSchema) exploitation = fields.Nested(ExploitationConfigurationSchema)