Azure / PSRule.Rules.Azure

Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
https://azure.github.io/PSRule.Rules.Azure/
MIT License
383 stars 84 forks source link

[FEATURE] Improve performance of policy as rules assignments exports #2971

Open BernieWhite opened 1 month ago

BernieWhite commented 1 month ago

Your suggestion

When an Azure environment has many policy assignments exporting policy assignments from a scope may take an extended unreasonable time to complete or not complete at all.

Additionally, the current implementation relies on Az.Resources and v7.x introduces breaking changes that affect the functionality of Export-AzPolicyAssignmentData. (#2970)

The intent is to rewrite export in C# using key components of the resource data export process that supports throttling, concurrency, and greatly improves performance over the PowerShell cmdlets.

Alternatives

na

Additional context

No response