Fix multiple issues for Security Configuration
What does this MR do and why?
This MR contains fixes for issues found in frontend refactoring MR !79520 (merged)
- Secret detection is always available in FOSS
- SAST can be configured only in Ultimate
- Changed condition for configuration path (now only for Ultimate)
- Added new option
can_enable_in_merge_request
to indicate if we can show buttonEnable via Merge Request
, previously, it was hardcoded on the frontend.
Right now, this code is not exposed to users so we don't need changelog entry
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #333113 (closed)
Edited by Tetiana Chupryna