netfetch icon indicating copy to clipboard operation
netfetch copied to clipboard

Feature: netpols with namespaceSelector

Open deggja opened this issue 1 year ago • 0 comments

Currently, we are checking network policies and their podSelectors + pods and their labels to match pods against the policies targeting them.

However, a networkPolicy in kubernetes can use a namespaceSelector which would apply to all pods within a specific namespace. We should implement logic to uncover these as well.

This would include changes to the ScanNetworkPolicies function.

deggja avatar Dec 09 '23 12:12 deggja