Remove vuex files which are no longer available since the SAV feature flag has been removed completely
Summary
The SAV feature flag has been completely removed. This means now we can start removing the security dashboard components and vuex files.
More information
Previously, we had an old security dashboard and a new security dashboard. If the SAV feature flag was enabled, the new security dashboard would be shown; otherwise, the old security dashboard would be shown. Now that the feature flag has been removed, only the new security dashboard is used, and the old security dashboard is now dead code that needs to be removed.
Additionally, many Vuex modules are loaded and unused in first_class_init, so this ticket should house the work to evaluate which modules, if any, should still be loaded.
Finally, there are some non-Vuex files referencing Vuex files (i.e. ee/security_dashboard/store/constants
and potentially some utils.js
/constants.js
files in ee/security_dashboard/store/modules/*/utils.js
/ee/security_dashboard/store/modules/*/constants.js
so these files should potentially be moved out of the /store
directory
It's highly recommended to manually assign the MR to @svedova because he implemented most of the new security dashboard and would have a good idea of which files are still used or not.
Improvements
- Removes code that's no longer used.
Risks
Some of the vuex files are still used by the new security dashboards. We need to make sure that whatever we remove it's not used. The security tab on a pipeline job also uses some of the components, so please double-check there as well:
![]() |
Involved components
Many files that are backed by Vuex under: ee/app/assets/javascripts/security_dashboard/components
Many files in the store: ee/app/assets/javascripts/security_dashboard/store