Azure / Enterprise-Scale

The Azure Landing Zones (Enterprise-Scale) architecture provides prescriptive guidance coupled with Azure best practices, and it follows design principles across the critical design areas for organizations to define their Azure architecture
https://aka.ms/alz
MIT License
1.65k stars 940 forks source link

Policy Set, Enforce-Guardrails-Network Bug Report #1697

Open MikaelJcSoderberg opened 2 weeks ago

MikaelJcSoderberg commented 2 weeks ago

Describe the bug There are wrong values for this parameter : modifyNsgRuleAccess "modifyNsgRuleAccess": { "type": "string", "defaultValue": "Deny", "allowedValues": [ "Audit", "Deny", "Disabled" ] }

It should be "modifyNsgRuleAccess": { "type": "string", "defaultValue": "Deny" "allowedValues": [ "Allow", "Deny" ] } Steps to reproduce Assign Enforce-Guardrails-Network

Screenshots image

jtracey93 commented 2 weeks ago

@Springstone can you take a look at this one please buddy?

Springstone commented 2 weeks ago

The allowed parameters are indeed incorrect but should not be an issue if you use Deny. To address this issue, we have a PR in to address the correct allowed parameters.

Springstone commented 18 hours ago

Have a PR in #1702 that fixes this and ensure built-in policy alignment for parameters.