Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: netpols with namespaceSelector #34

Open
deggja opened this issue Dec 9, 2023 · 0 comments
Open

Feature: netpols with namespaceSelector #34

deggja opened this issue Dec 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@deggja
Copy link
Owner

deggja commented Dec 9, 2023

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 deggja added the enhancement New feature or request label Dec 9, 2023
@deggja deggja self-assigned this Dec 9, 2023
@deggja deggja changed the title netpols with namespaceSelector Feature: netpols with namespaceSelector Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant