mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
feat(checks): dump all checks as a json file (#2683)
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
co-authored by
Pepe Fagoaga
parent
4d817c48a8
commit
d186c69473
@@ -592,6 +592,12 @@ class Test_Parser:
|
||||
parsed = self.parser.parse(command)
|
||||
assert parsed.list_checks
|
||||
|
||||
def test_list_checks_parser_list_checks_json(self):
|
||||
argument = "--list-checks-json"
|
||||
command = [prowler_command, argument]
|
||||
parsed = self.parser.parse(command)
|
||||
assert parsed.list_checks_json
|
||||
|
||||
def test_list_checks_parser_list_services(self):
|
||||
argument = "--list-services"
|
||||
command = [prowler_command, argument]
|
||||
|
||||
Reference in New Issue
Block a user