From 7b56a56f3a181935d67030c2591453c089b9933a Mon Sep 17 00:00:00 2001 From: "Austin Songer,MIS,CEH,ESCA,Project+ (Navy Veteran)" Date: Sun, 9 Jun 2024 15:26:19 -0500 Subject: [PATCH] Update cli.py --- entrypoint/entrypoint/cli.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/entrypoint/entrypoint/cli.py b/entrypoint/entrypoint/cli.py index 90f8d45..89a5db2 100644 --- a/entrypoint/entrypoint/cli.py +++ b/entrypoint/entrypoint/cli.py @@ -18,11 +18,12 @@ def init(sys_argv=None) -> argparse.Namespace: help='AWS Region') parser.add_argument('--assessment-run-arn', type=str, required=True, help='Amazon Inspector Assessment Run ARN') + parser.add_argument('--agentless', action='store_true', help='Use agentless scan') + parser.add_argument('--jira-url', type=str, help='Jira URL') + parser.add_argument('--jira-username', type=str, help='Jira Username') + parser.add_argument('--jira-api-token', type=str, help='Jira API Token') + parser.add_argument('--jira-project-key', type=str, help='Jira Project Key') - args = "" - if sys_argv: - args = parser.parse_args(sys_argv) - else: - args = parser.parse_args() - + args = parser.parse_args(sys_argv) if sys_argv else parser.parse_args() + return args