Skip to content

Prevent running scans from execution policies after downgrading license

What does this MR do and why?

With this MR we are preventing running scans defined with scheduled Scan Execution Policies when account is downgraded from Ultimate version.

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 instance
  2. Add license for Ultimate
  3. Create new project/group and create new Scan Execution Policy with scheduled run to run every day at specified time
  4. Ensure that the job is executing
  5. Remove the license from your instance
  6. Observe that job is no longer scheduled

Related to #466729

Merge request reports