mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +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:
@@ -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