Skip to content

Remove custom CI action from Scan execution policies UI

What does this MR do and why?

Due to the ended experiment, the custom CI action should be removed. It was replaced by the new Pipeline execution policy type.

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.

Before After Without custom action
CleanShot_2024-07-31_at_09.01.09_2x CleanShot_2024-07-31_at_09.29.13_2x CleanShot_2024-07-31_at_09.29.25_2x

How to set up and validate locally

  1. Enable the feature flag
    Feature.enable(:compliance_pipeline_in_policies)
  2. Overwrite temporarily the return value of custom_ci_toggle_enabled? to true
  3. Go to Secure -> Policies -> New Scan execution policy
  4. Verify there is no UI related to custom scan action.

Related to #473243 (closed)

Edited by Martin Čavoj

Merge request reports

Loading