Add threshold performance check on security helper
What does this MR do and why?
For scan execution policy scheduled rules we need to add check if number of projects in a group exceeds
performance Threshold 1000 projects in a group
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
|
|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to Group with at least 2 projects
- Set
security_orchestration_helper.rb:4
to 1. -
projects_performance_limit_reached
should be true - Set it back to 1000
-
projects_performance_limit_reached
should be false
Related to #468974 (closed)
Edited by Artur Fedorov