Replace DAST -T argument with --zap-max-connection-attempts and --passive-scan-max-wait-time
Context
In ConfigurationParser
, DAST defines config.zap_max_connection_attempts
and config.passive_scan_max_wait_time
from the value given to -T
. We want to allow users to define those configurations options directly, and separately from each other.
Technical Details
Use config.dast_major_version >= 2
to ensure these changes take effect with the release of DAST 2.0.
-
Remove the -T
configuration argument -
Add a --passive-scan-max-wait-time
argument -
Add a --zap-max-connection-attempts
argument -
Ensure the changes are documented, and the -T
deprecation is marked
Edited by Avielle Wolfe