Skip to content

Fix policy scope checker for multiple project compliance frameworks

What does this MR do and why?

This MR fixes a policy scope check if multiple compliance frameworks are assigned to a single project. Previously, only the first framework was taken into account.

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.

How to set up and validate locally

  1. Create a project
  2. In the top-level group, create two compliance frameworks under Secure -> Compliance center
  3. Under Projects tab, assign both frameworks to the project
  4. For the group, create two Pipeline execution policies - one for each framework
  5. Go to the project and run a pipeline. Verify that both policies are applied.
Edited by Martin Čavoj

Merge request reports

Loading