Skip to content

Disable invalid policy alert for scan result

Alexander Turinske requested to merge 458995-update-deprecation-alert into master

What does this MR do and why?

Disable invalid policy alert for scan result

  • scan result policies were not deprecated in milestone 17.0, so the invalid policy alert should not show for them because it is not an invalid policy yet, so it will not prevent all the policies from being applied like match_on_inclusion will
  • we still want to convince users to convert their type: scan_result_policy policies to type: approval_policy, so we still want the breaking changes icon
  • update tests

Changelog: changed

EE: true

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

With deprecated property that is not scan_result_policy With deprecated property that is scan_result_policy
Screenshot_2024-05-09_at_12.07.58 Screenshot_2024-05-09_at_11.59.07

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #458995 (closed)

Edited by Alexander Turinske

Merge request reports