Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
austinsonger authored Jun 9, 2024
1 parent d5ed776 commit 7b56a56
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions entrypoint/entrypoint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7b56a56

Please sign in to comment.