Implement Run & Delete scan actions
What does this MR do?
Related to #295247 (closed)
Implements the Run scan
and Delete
DAST profile actions.
Screenshots (strongly suggested)
How to test this?
- Enable the
:dast_saved_scans
feature flag.
echo "Feature.enable(:dast_saved_scans)" | rails c
- Navigate to the DAST scans management page at
/:namespace/:project/-/security/configuration/dast_profiles
- You should be able to run a scan by clicking on the
Run scan
button. - You should be able to delete a profile by opening the actions dropdown and clicking on
Delete
.
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry The changes are behind feature flag
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
- [-] Style guides
- [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #295247 (closed)
Edited by Paul Gascou-Vaillancourt