Skip to content

Raise proper exit code when command line arg parsing fails, Add validations for URLs

Pulkit Sharma requested to merge handle_invalid_cmdline_args into master

What does this MR do?

Fixes gitlab-org/gitlab#35000 (closed)

  • Raise proper exit code from Python when parsing fails for command-line argument.
  • Add validations for args related to URLs (DAST_WEBSITE, DAST_AUTH_URL and DAST_AUTH_EXCLUDE_URLS)
  • Add e2e and unit tests for these scenarios.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Pulkit Sharma

Merge request reports