Azure / enterprise-azure-policy-as-code

Enterprise-ready Azure Policy-as-Code (PaC) solution (includes Az DevOps pipeline)
https://azure.github.io/enterprise-azure-policy-as-code/
MIT License
415 stars 219 forks source link

Add subnets to the resource list #738

Closed JerJon closed 1 week ago

JerJon commented 2 weeks ago

Fixes #737

Loping through all the "main" resources and get all the subnets for each Vnet that has been found.

This function can be expand for other sub-resources that aren't been retrieved by the Rest-Api "Resources"

JerJon commented 2 weeks ago

@microsoft-github-policy-service agree

anwather commented 1 week ago

I just want to test this and make sure there isn't a huge impact to performance