Common: Change minimum value of maximum_depth in PropagationConfigurationSchema to 0

This commit is contained in:
Shreya Malviya 2022-07-27 18:48:56 +05:30
parent b4243216a3
commit a9fa7427f3
1 changed files with 1 additions and 1 deletions

View File

@ -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)