Skip to content

Add selection between templates in Scan Execution Policies

What does this MR do and why?

This MR adds the ability to select template in Scan Execution Policies to specify if a given scan should be enforced using the latest security template or the default one.

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 new project
  2. Create new Scan Execution Policy (Go to Secure -> Policies -> Create new -> Scan Execution Policy)
  3. Go to YAML mode and for selected scan add template: latest
  4. Go to your project and try to run pipeline for created MR. You'll notice that new pipeline is created with merge_request label.

Related to #415427

Merge request reports