feat(scanner): add AZ-NET-016 load balancer no backend pool rule#108
Open
aav-wh wants to merge 1 commit into
Open
feat(scanner): add AZ-NET-016 load balancer no backend pool rule#108aav-wh wants to merge 1 commit into
aav-wh wants to merge 1 commit into
Conversation
- Add scanner/rules/az_net_016.py to detect load balancers with no backend pool - Add get_load_balancers() to azure_client.py - Add playbooks/cli/fix_az_net_016.sh remediation script - Update all 4 compliance framework JSONs with AZ-NET-016 mappings
m-khan-97
requested changes
Jun 6, 2026
Collaborator
m-khan-97
left a comment
There was a problem hiding this comment.
Thanks for the contribution. I am requesting changes because this appears to duplicate the existing AZ-NET-008 rule, which already covers load balancers without backend pools.
Please do not merge this as a separate AZ-NET-016 rule in its current form. A better direction would be one of these:
- improve the existing AZ-NET-008 implementation if it has gaps
- add regression tests for the existing load-balancer backend-pool detection
- improve the existing remediation playbook
- refocus this PR on a clearly distinct lifecycle/resource-hygiene case that AZ-NET-008 does not already cover
This branch is also currently conflicting with dev, so it would need to be rebased before any revised version can be reviewed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds AZ-NET-016 scanner rule to detect Azure load balancers with no backend pool configured, which are either misconfigured or leftover resources from decommissioned workloads.
Type of change
Rule details
Testing
Related issue
Closes #107
Checklist