diff --git a/monkey/monkey_island/cc/models/monkey.py b/monkey/monkey_island/cc/models/monkey.py index 4bfaa1759..a6d5b2138 100644 --- a/monkey/monkey_island/cc/models/monkey.py +++ b/monkey/monkey_island/cc/models/monkey.py @@ -55,14 +55,8 @@ class Monkey(Document): tunnel = ReferenceField("self") command_control_channel = EmbeddedDocumentField(CommandControlChannel) - # Environment related fields - environment = StringField( - default=environment_names.Environment.UNKNOWN.value, - choices=environment_names.ALL_ENVIRONMENTS_NAMES, - ) - aws_instance_id = StringField( - required=False - ) # This field only exists when the monkey is running on an AWS + # This field only exists when the monkey is running on an AWS + aws_instance_id = StringField(required=False) # instance. See https://github.com/guardicore/monkey/issues/426.