DAST On-Demand Scan - View Scans - Index page

Why are we doing this work

This tracks the creation of a new page for showing DAST scans. We'll start by creating a basic page with an empty state and a link to the on-demand scans form.

Relevant links

Non-functional requirements

  • Feature flag:
  • Testing:
    • Controller:
      • Redirects to /:namespace/:project/on_demand_scans/new if the feature flag is disabled.
      • Otherwise, renders the page and receives a link to the form.

Implementation plan

  • Create the /:namespace/:project/on_demand_scans route.
    • It redirects to /:namespace/:project/on_demand_scans/new unless the dast_view_scans feature flag is enabled.
    • The On-demand scans nav item link to the new page if the feature flag is enabled.
    • It renders a basic Vue component.
    • The component renders an empty state with a link to the on-demand DAST scan form.
Edited by Paul Gascou-Vaillancourt