Create on-demand scans index page
What does this MR do and why?
This creates the empty on-demand DAST scans empty page. In this first iteration, we're only making the page available at /:namespace/:project/on_demand_scans
, and we're only showing the empty state for now.
This is being controlled by the dast_view_scans
feature flag. When the feature flag is disabled, we redirect to /:namespace/:project/on_demand_scans/new
, which is the on-demand scans form. We're doing this because, in the current state, the index
page behaves exactly like the new
page, so this preserves the current behavior for users that have the feature flag off.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable the feature flag
echo "Feature.enable(:dast_view_scans)" | rails c
- Visit the index page at
/:namespace/:project/on_demand_scans
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #341356 (closed)