diff --git a/monkey/monkey_island/cc/services/node.py b/monkey/monkey_island/cc/services/node.py index fe0c9489a..a006d9d7f 100644 --- a/monkey/monkey_island/cc/services/node.py +++ b/monkey/monkey_island/cc/services/node.py @@ -129,9 +129,7 @@ class NodeService: if "group" in node and node["group"]: return node["group"] - if node.get("exploited"): - node_type = "exploited" - elif node.get("propagated"): + if node.get("propagated"): node_type = "propagated" else: node_type = "clean" diff --git a/monkey/monkey_island/cc/services/utils/node_states.py b/monkey/monkey_island/cc/services/utils/node_states.py index 476255de4..cb8024bd2 100644 --- a/monkey/monkey_island/cc/services/utils/node_states.py +++ b/monkey/monkey_island/cc/services/utils/node_states.py @@ -9,8 +9,6 @@ class NodeStates(Enum): CLEAN_UNKNOWN = "clean_unknown" CLEAN_LINUX = "clean_linux" CLEAN_WINDOWS = "clean_windows" - EXPLOITED_LINUX = "exploited_linux" - EXPLOITED_WINDOWS = "exploited_windows" PROPAGATED_LINUX = "propagated_linux" PROPAGATED_WINDOWS = "propagated_windows" ISLAND = "island"