Seperate On-demand DAST template from DAST template
Proposal
To ensure DAST on-demand scan remains unaffected when changes are made to the DAST.gitlab-ci.yml
template, create a new template DAST-ONDEMAND.gitlab-ci.yml
specifically for DAST on-demand scan.
Pros:
- Simplify run_dast_scan_service.rb#L20
- On-demand scan is decoupled from the main DAST template
Cons:
- Must make changes to both templates when
script
changes are required to run DAST.