DAST Profiles - Update routes
DAST Profiles management is currently accessible at /:namespace/:project/-/on_demand_scans/profiles
, placing them under the On-demand Scans umbrella, while they should actually belong to the Security Configuration namespace.
DAST Profiles have been made accessible via the configuration page with the addition of a Manage link in !40474 (merged). We now only need to update the routes so that profiles are accessible at /:namespace/:project/-/security/configuration/profiles
.
Implementation plan
-
Convert dast_profiles#index
todast_profiles#show
(easier to map in the routes config). -
Update routes definition in ee/config/routes/project.rb
. -
Move the controllers to the correct scope ( Projects
->Projects::Security
). -
Move views, javascripts and specs to the correct locations. -
Update the breadcrumbs in the following views to replace the On-demand Scans item with Security Configuration: -
ee/app/views/projects/dast_scanner_profiles/new.html.haml
-
ee/app/views/projects/dast_scanner_profiles/edit.html.haml
-
ee/app/views/projects/dast_site_profiles/edit.html.haml
-
ee/app/views/projects/dast_site_profiles/new.html.haml
-
-
Update path generator helpers.
Edited by Paul Gascou-Vaillancourt