fix(services): verify Route53 records and handle TrustedAdvisor error (#2448)

This commit is contained in:
Sergio Garcia
2023-06-06 11:50:44 +02:00
committed by GitHub
parent eb16d7e6f9
commit 277833e388
5 changed files with 58 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
from prowler.lib.utils.utils import validate_ip_address
class Test_Validate_Ip_Address:
def test_validate_ip_address(self):
assert validate_ip_address("88.26.151.198")
assert not validate_ip_address("Not an IP")