fix(shodan): Make it available for all the providers (#3500)

This commit is contained in:
Pepe Fagoaga authored and GitHub committed 2024-03-05 13:55:43 +01:00
1 parent d8e27f0d33
commit d618c5ea12
9 files changed
+59 -38

No files matched your search

+4
View File
@@ -967,6 +967,7 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.output_bucket_no_assume == bucket
# TODO: change for the global parser
def test_aws_parser_shodan_short(self):
argument = "-N"
shodan_api_key = str(uuid.uuid4())
@@ -974,6 +975,7 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.shodan == shodan_api_key
# TODO: change for the global parser
def test_aws_parser_shodan_long(self):
argument = "--shodan"
shodan_api_key = str(uuid.uuid4())
@@ -1079,6 +1081,7 @@ class Test_Parser:
assert parsed.provider == "azure"
assert parsed.az_cli_auth
# TODO: change for the global parser
def test_azure_parser_shodan_short(self):
argument = "-N"
shodan_api_key = str(uuid.uuid4())
@@ -1086,6 +1089,7 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.shodan == shodan_api_key
# TODO: change for the global parser
def test_azure_parser_shodan_long(self):
argument = "--shodan"
shodan_api_key = str(uuid.uuid4())