Closed tthvo closed 2 months ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 66.66667%
with 24 lines
in your changes missing coverage. Please review.
Project coverage is 42.39%. Comparing base (
181141d
) to head (4bb5cc4
). Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
pkg/kor/networkpolicies.go | 62.50% | 11 Missing and 13 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tthvo I've created a new issue to address this enhancement - #312, please update the description and reference it. Let us know when the draft is ready to review 💪
@doronkg @yonahd I think this is ready now for review. I have run some extensive tests but might miss some cases. Please let me know what you think :D
@tthvo Sorry for the late review.
@tthvo Sorry for the late review.
All good! I addressed the reviews in the latest commit :D
What this PR does / why we need it?
This PR added consideration for discovering second-level unused NetworkPolicies with matching
.spec.podSelector
, but unmatched pods in Ingress/Egress rules.See https://github.com/yonahd/kor/pull/296#issuecomment-2166571938
PR Checklist
GitHub Issue
Solves #312
Notes for your reviewers
Rules with
ipBlock
is considered "used" here.