chore(security hub): add --skip-sh-update (#1911)

This commit is contained in:
Sergio Garcia
2023-02-20 09:58:00 +01:00
committed by GitHub
parent cdbb10fb26
commit 6e6dacbace
4 changed files with 21 additions and 1 deletions

View File

@@ -738,6 +738,12 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.security_hub
def test_aws_parser_skip_sh_update(self):
argument = "--skip-sh-update"
command = [prowler_command, argument]
parsed = self.parser.parse(command)
assert parsed.skip_sh_update
def test_aws_parser_quick_inventory_short(self):
argument = "-i"
command = [prowler_command, argument]