From a9fa7427f375f3b7c12400a4297cfb1c4ca7ad1c Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 27 Jul 2022 18:48:56 +0530 Subject: [PATCH] Common: Change minimum value of maximum_depth in PropagationConfigurationSchema to 0 --- .../agent_configuration/agent_sub_configuration_schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)