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

Bug Report: Deny-MgmtPorts-From-Internet.json #1766

Open
rybal06 opened this issue Sep 12, 2024 · 2 comments
Open

Bug Report: Deny-MgmtPorts-From-Internet.json #1766

rybal06 opened this issue Sep 12, 2024 · 2 comments
Labels
Area: Policy 📝 Issues / PR's related to Policy bug Something isn't working

Comments

@rybal06
Copy link

rybal06 commented Sep 12, 2024

Describe the bug
The policy checks for the source address to be * or Internet, but doesn't check for 0.0.0.0/0.

Per https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
"0.0.0.0/0 in the Source and Destination columns represents all addresses"

Steps to reproduce

  1. Deploy policy in deny mode.
  2. Create an NSG, and allow port 22 from 0.0.0.0/0 address range.
  3. Note, policy is compliant.
@rybal06 rybal06 added the bug Something isn't working label Sep 12, 2024
@jtracey93
Copy link
Collaborator

@Springstone can you take a look

@rybal06
Copy link
Author

rybal06 commented Sep 16, 2024

Opened PR: #1768

@Springstone Springstone added the Area: Policy 📝 Issues / PR's related to Policy label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Policy 📝 Issues / PR's related to Policy bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants