On-demand scans - saved scan should navigate to Manage scans page
Summary
While creating a new on-demand scan, clicking Save scan
doesn't provide the user with any sort of conformation. After a brief loading indicatory, it leaves them on the same form filled out. Should it instead direct them to /security/configuration/dast_scans
?
Steps to reproduce
- Navigate to /on_demand_scans/new on any project
- Fill out the scan details and click
Save scan
Example Project
Any project
What is the current bug behavior?
User remains on the form
What is the expected correct behavior?
A save confirmation or navigate to the saved scans page
Relevant logs and/or screenshots
Should navigate back to this page upon saving:
/security/configuration/dast_scans
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Implementation Plan
-
Update redirection logic in ee/app/assets/javascripts/on_demand_scans/components/on_demand_scans_form.vue
-
Redirect to profilesLibraryPath
upon save
-
-
Update specs
Edited by Dheeraj Joshi