Scope bypass_settings related audit events to security policy project

What does this MR do and why?

This MR updates the scope of the audit events related to bypass_settings to security policy project instead of the MR/branch's project. This also updates the audit event message to for better understanding.

References

Screenshots or screen recordings

Screenshot_2025-07-17_at_4.55.18_PM

Screenshot_2025-07-17_at_5.16.44_PM

How to set up and validate locally

  • Follow these steps to setup MR approval policy with access token bypass_settings
  • Follow these steps to setup MR approval policy with branch exceptions bypass_settings
  • Verify that the audit events are created in the security policy project and not the actual project

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.

Edited by Sashi Kumar Kumaresan

Merge request reports

Loading