From 208ba1c2ab0b6606e39afd6bba756960a544b59d Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 29 Sep 2022 13:49:50 -0400 Subject: [PATCH] Common: Use lower-case member name for PortStatus values --- monkey/common/types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):