Place all the "Security & Compliance" related controllers under the same directory
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Why are we doing this work
Currently, the "Security & Compliance" related controllers are located under the projects/
and projects/security
directories. This makes it harder to find the controllers and organize the common logic in one place. We should put all the "Security & Compliance" related controllers under the same directory.
Implementation plan
-
backend Place all the "Security & Compliance" related controller under the same directory (app_sec is proposed directory name) -
backend Make sure that all the controllers have plural names. -
backend Modify specs with respect to changes in earlier points -
Keep the routes same as is
Related controllers (draft list):
- ee/app/controllers/projects/security (need to consider all the contollers under this)
- ee/app/controllers/security (need to consider all the contollers under this)
- ee/app/controllers/projects/vulnerability_feedback_controller.rb
- ee/app/controllers/projects/threat_monitoring_controller.rb
- ee/app/controllers/projects/on_demand_scans_controller.rb
- ee/app/controllers/projects/licenses_controller.rb
- ee/app/controllers/projects/dependencies_controller.rb
- ee/app/controllers/projects/audit_events_controller.rb
Edited by 🤖 GitLab Bot 🤖