Skip to content

Add branch selector to on-demand scans form

What does this MR do?

This adds a branch selector input to let user select the branch a DAST scan is associated with.

How to test this?

  1. Enable the dast_branch_selection feature flag.
echo "Feature.enable(:dast_branch_selection)" | rails c
  1. Navigate to the on-demand scans form at /:namespace/:project/-/on_demand_scans/new.

Screenshots (strongly suggested)

branch

Before After
before after

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #322872 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports