Skip to content

Security Policy Drawer handles cluster image scanning policies

Artur Fedorov requested to merge 346188-cluster-image-scanning-policies into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR resolves #346188 (closed)

This MR adds option for agents to display human-readable rules in policy drawer

Screenshots or screen recordings

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

before
Screenshot_2022-09-20_at_01.17.28
after
Screenshot_2022-09-20_at_01.16.59

How to set up and validate locally

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

How to set up and validate locally

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

  1. Enable feature flag
   Feature.enable(:scan_execution_rule_mode)
  1. Go to URL/root/PROJECT_ID/-/security/policies
  2. Create new policy for scan execution with schedule rule
  3. Return to policy list
  4. Open side drawer by selecting scan execution policy
  5. You should see rule in list with parsed cadence

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)

Merge request reports