Fix edge case for AbsGoogleComputeFirewallUnrestrictedIngress.py
@@ -26,6 +26,8 @@ class AbsGoogleComputeFirewallUnrestrictedIngress(BaseResourceCheck):
def _is_port_in_range(self, ports_list):
if len(ports_list) == 0:
return False
+ if isinstance(ports_list[0], list):
+ ports_list = ports_list[0]
for port_range in ports_list[0]:
port = force_int(port_range)
if port and self.port == port:
