forked from p15670423/monkey
Island: remove environment property from monkey model because it's unused
This commit is contained in:
parent
6a472b524f
commit
90a063c47c
|
@ -55,14 +55,8 @@ class Monkey(Document):
|
||||||
tunnel = ReferenceField("self")
|
tunnel = ReferenceField("self")
|
||||||
command_control_channel = EmbeddedDocumentField(CommandControlChannel)
|
command_control_channel = EmbeddedDocumentField(CommandControlChannel)
|
||||||
|
|
||||||
# Environment related fields
|
# This field only exists when the monkey is running on an AWS
|
||||||
environment = StringField(
|
aws_instance_id = StringField(required=False)
|
||||||
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
|
|
||||||
|
|
||||||
# instance. See https://github.com/guardicore/monkey/issues/426.
|
# instance. See https://github.com/guardicore/monkey/issues/426.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue