Bug: Incorrect violation report notification on Compliance Report
Summary
When checking a Compliance Report there are violations of compliance for Less than 2 approvers even if this had not been set up at all using a security policy.
Steps to reproduce
- Create a project
- Create a new branch
- Create an MR for that new branch that requires 2 approvers.
- Approve the MR with 2 selected users.
- After successfully approved and merged the Compliance Report will detect a violation that is not supposed to.
Example Project
Example project with 2 approval MRs
What is the current bug behavior?
The Compliance Reports shows that there is a violation which states that there are Less than 2 approvers
for an approved MR.
What is the expected correct behavior?
The Compliance Report should not report on successfully complying MRs.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com