Add security report time window to policy editor
What does this MR do and why?
With Merge Request Approval Policy Time Window (#525509) we want to add a new option in MR approval policy to set a time window for selecting the target branch comparison pipeline for MR. This will enable comparisons against the latest pipeline with security reports created within a specified time range, rather than always waiting for the most recent baseline run to complete.
This MR adds documentation and introduces the field in the frontend. The feature is split into 3 MRs:
- 
1️⃣ Add security report time window to MR approval ... (!204521 - merged)
- 
2️⃣ Use security_report_time_window logic for pipel... (!204522 - merged)
- 
3️⃣ 👉 Add security report time window to policy editor (!204523 - merged)
References
Screenshots or screen recordings
How to set up and validate locally
- Create a project/group
- Enable approval_policy_time_windowfeature flag
- Create a new MR approval policy from Secure->Policies
- Go to Advanced->Edge case settings->Time window
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #525509
Edited  by Sashi Kumar Kumaresan
