Skip to content

Add extra check for source namespace in security policy

Artur Fedorov requested to merge 425342-policies-bug-list_component into master

What does this MR do and why?

This MR adds check for namespace

Backend can return inherited policy without source. This MR adds checks and fallback values for the edge case

This MR resolves #425342 (closed)

Screenshots or screen recordings

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

NO VISUAL CHANGES

How to set up and validate locally

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

  1. There is no direct way to create a policy without namespace for source. backend part is still in investigation.
  2. So this MR just adds extra checks for source, namespace

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 #425342 (closed)

Merge request reports

Loading