From 2edbdac8b9a98369d5b727517b5016a3ea515ef9 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Wed, 14 Aug 2024 07:04:56 +0000 Subject: [PATCH] Treat -1(All) as a common port --- services/vpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/vpc.py b/services/vpc.py index 679c378..a5653d4 100644 --- a/services/vpc.py +++ b/services/vpc.py @@ -67,6 +67,7 @@ class VPCRuleChecker(RuleChecker): def restricted_common_ports(self): common_ports = [ + -1, # All 22, # SSH 80, # HTTP 3306, # MySQL