Skip to content

Fix network policies update to support name updation

Sashi Kumar Kumaresan requested to merge sk/339793-update-policy-name into master

What does this MR do and why?

Addresses #339793 (closed)

Fixes a bug when the name of a container network policy is updated.

Screenshots or screen recordings

container_policy_name

How to set up and validate locally

  1. Follow the Protect Onboarding task to be able to create network policies in kubernetes/cilium
  2. Navigate to Security & Compliance => Policies
  3. Create a new container (network) policy
  4. Select the policy and click Edit policy in the sidebar
  5. Modify the name and click Save policy
  6. View the policy in the policies list

Example Project: https://staging.gitlab.com/defend-team-test/cnp-alert-demo/-/security/policies

MR acceptance checklist

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

Edited by Sashi Kumar Kumaresan

Merge request reports