From d4c7b97229c3e1ba8ac3dc1218f69b5a82b6a14a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 30 Jun 2022 12:47:40 -0400 Subject: [PATCH] Island: Add UNSET to IslandModeEnum --- monkey/monkey_island/cc/services/mode/mode_enum.py | 1 + vulture_allowlist.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/services/mode/mode_enum.py b/monkey/monkey_island/cc/services/mode/mode_enum.py index fce46db97..d6258bbff 100644 --- a/monkey/monkey_island/cc/services/mode/mode_enum.py +++ b/monkey/monkey_island/cc/services/mode/mode_enum.py @@ -2,5 +2,6 @@ from enum import Enum class IslandModeEnum(Enum): + UNSET = "unset" RANSOMWARE = "ransomware" ADVANCED = "advanced" diff --git a/vulture_allowlist.py b/vulture_allowlist.py index e1d56f689..126f6c596 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -149,7 +149,8 @@ MONKEY_LINUX_RUNNING # unused variable (monkey/monkey_island/cc/services/utils/ import_status # monkey_island\cc\resources\configuration_import.py:19 config_schema # monkey_island\cc\resources\configuration_import.py:25 exception_stream # unused attribute (monkey_island/cc/server_setup.py:104) -ADVANCED # unused attribute (monkey/monkey_island/cc/services/mode/mode_enum.py:6:) +ADVANCED # unused attribute (monkey/monkey_island/cc/services/mode/mode_enum.py:7:) +UNSET # unused attribute (monkey/monkey_island/cc/services/mode/mode_enum.py:5:) Report.overview Report.recommendations Report.glance