JulianHayward / Azure-MG-Sub-Governance-Reporting

Azure Governance Visualizer aka AzGovViz is a PowerShell script that captures Azure Governance related information such as Azure Policy, RBAC (a lot more) by polling Azure ARM, Storage and Microsoft Graph APIs.
MIT License
845 stars 304 forks source link

Error during PSRule #154

Closed extmaper closed 1 year ago

extmaper commented 1 year ago

During PSRule part in the script error according to screenshot

image

JulianHayward commented 1 year ago

AzGovViz / PSRule integration under review. Findings and decision on how to proceed will be posted soon. Interesting resource though! Would love to see the resource JSON

extmaper commented 1 year ago

@JulianHayward - Removed DoPsRule parameter, error still there in the CustomDataCollection section.

JulianHayward commented 1 year ago

@extmaper please try the latest release and check the logs for 'ConvertFrom-Json' AzAPICall errors / if not dumped please check the related resource /JSON def - thanks!

extmaper commented 1 year ago

@JulianHayward - works with latest version. Thanks.

JulianHayward commented 1 year ago

@extmaper any 'ConvertFrom-Json' AzAPICall errors? Can you share one of the JSON defs /offline?