Remove deprecated DAST configuration arguments
Context
The following DAST configuration arguments no longer change any functionality, but have remained in the code to avoid breaking the builds of users who previously relied on them:
-
-s(removed in gitlab-org/security-products/dast!219 (merged)) -
-n(removed in gitlab-org/security-products/dast!253 (merged)) -
-p(removed in gitlab-org/security-products/dast!246 (merged)) -
-D(removed in gitlab-org/security-products/dast!291 (merged)) -
--auth-display
Arguments are disabled in gitlab-org/security-products/dast!390 (merged)
Additionally, several DAST environment variable arguments have alternative names that have been preserved for the sake of backwards compatibility. We want to remove those names with the release of DAST 2.0.
-
AUTH_URL -
AUTH_USERNAME -
AUTH_PASSWORD -
AUTH_USERNAME_FIELD -
AUTH_PASSWORD_FIELD -
AUTH_SUBMIT_FIELD -
AUTH_FIRST_SUBMIT_FIELD -
AUTH_AUTO -
DAST_REQUEST_HEADER
Environment variables are disabled in gitlab-org/security-products/dast!389 (merged)
These arguments should already be removed from the docs, but please double check that they are not present (or that their deprecation is noted).
Technical Details
Use config.dast_major_version to ensure that these options are not present after the release of DAST 2.0