Add selection between templates in Scan Execution Policies
requested to merge 415427-add-ability-to-select-between-latest-and-default-templates-in-sep into master
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
- Create new project
- Create new Scan Execution Policy (Go to Secure -> Policies -> Create new -> Scan Execution Policy)
- Go to YAML mode and for selected scan add
template: latest
- 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