feat(securityhub): Send only FAILs but storing all in the output files (#3195)

This commit is contained in:
Pepe Fagoaga
2023-12-15 13:31:55 +01:00
committed by GitHub
parent 9a868464ee
commit fdeb523581
6 changed files with 116 additions and 86 deletions

View File

@@ -882,6 +882,12 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.skip_sh_update
def test_aws_parser_send_only_fail(self):
argument = "--send-sh-only-fails"
command = [prowler_command, argument]
parsed = self.parser.parse(command)
assert parsed.send_sh_only_fails
def test_aws_parser_quick_inventory_short(self):
argument = "-i"
command = [prowler_command, argument]