Dependency Scanning - MVC to enable within the UI - Frontend
Why are we doing this work
This issue tracks frontend work to add an Enable button on the Dependency Scanning row within the Security Configuration page. When clicked, the backend will create an MR and the user will be directed to the MR page.
Relevant links
Information that the developer might need to refer to when implementing the issue.
Non-functional requirements
-
Documentation: yes, needed -
Feature flag: yes, this work should be controlled by a flag -
Performance: -
Testing: needs unit tests. Possibly end to end tests.
Implementation plan
-
Create a ManageViaMr
component: #325694 (closed) -
Create sec_dependency_scanning_ui_enable
feature flag -
Propagate flag to frontend within https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/controllers/projects/security/sast_configuration_controller.rb -
Configure Dependency Scanning to use the ManageViaMr
component in thescannerComponentMap
map inManageFeature
. -
Create the client-side configureDependencyScanning
mutation to be mapped to theManageViaMr
component.