Skip to content

Validate reserved report_approvers rule names through schema

What does this MR do and why?

Include reserved report_approvers rule names as part of json schema validation. This is part of a three-part solution for #370808 (closed).

Screenshots or screen recordings

Screen_Shot_2022-08-24_at_11.28.15_AM

How to set up and validate locally

  1. Navigate to Security & Compliance > Policies, click New Policy
  2. Create a new Scan result policy
  3. Input either License-Check or Coverage-Check into name
  4. Validation should fail instead of allow a new MR to be created

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Zamir Martins

Merge request reports

Loading