feat(checks): dump all checks as a json file (#2683)

Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
Chris Farris
2023-08-21 11:35:31 -04:00
committed by GitHub
parent 4d817c48a8
commit d186c69473
5 changed files with 46 additions and 1 deletions

View File

@@ -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]