Skip to content

Update scan execution policy drawer

Alexander Turinske requested to merge 346188-cluster-image-scanning-drawer into master

What does this MR do and why?

Update scan execution policy drawer

  • it now shows rules for cluster image scanning
  • it does not display the cluster images being scanned

Changelog: changed

EE: true

NOTE: This is the first MR of a couple; this solves the issue of the UI saying that a valid policy will not run when it will, but does not handle listing out branches and clusters for cluster image scanning policies. That behavior needs to be worked out in the issue

Screenshots or screen recordings

Scan Execution Policy Type Before After
DAST - w/out branches Screen_Shot_2021-11-19_at_17.22.59 No visual change
DAST - w/ branches Screen_Shot_2021-11-19_at_17.22.52 No visual change
Cluster Image Scanning - w/out branches image Screen_Shot_2021-11-19_at_17.22.12
Cluster Image Scanning - w/ branches image image

How to set up and validate locally

  1. Ensure your GDK has a GitLab Ultimate license
  2. Follow the snippet for creating scan execution policies
  3. Create these policies from the docs
  4. Navigate to Security & Compliance => Policies
  5. Select scan execution policy projects of different types

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #346188 (closed)

Edited by Alexander Turinske

Merge request reports