diff --git a/monkey/common/types.py b/monkey/common/types.py index b4503afc2..89794b942 100644 --- a/monkey/common/types.py +++ b/monkey/common/types.py @@ -41,11 +41,11 @@ class PortStatus(Enum): An Enum representing the status of the port. This Enum represents the status of a network pork. The value of each - member is distincive and unique number. + member is the member's name in all lower-case characters. """ - OPEN = 1 - CLOSED = 2 + OPEN = "open" + CLOSED = "closed" class SocketAddress(InfectionMonkeyBaseModel):