mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
fix(shodan): Make it available for all the providers (#3500)
This commit is contained in:
1 parent
d8e27f0d33
commit
d618c5ea12
9 files changed
+59
-38
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user