6.7.0 alz pa checker#283
Conversation
Alz policy assignment checker
…ub.com/JulianHayward/Azure-MG-Sub-Governance-Reporting into alz-policy-assignments-checker-patch
…patch Alz policy assignments checker patch
| $policyAssignmentsPath = '.\platform\alz\policy_assignments' | ||
| $archetypesDefinition = Get-ChildItem -Path $archetypesPath -Filter '*.json' | ||
|
|
||
| function Test-ALZManagementGroupIds { |
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Test-ALZManagementGroupIds' uses a plural noun. A singular noun should be used instead. Warning
| $referenceALZPolicyAssignments = $script:referenceALZPolicyAssignments | ||
|
|
||
| # Function to compare hashtables | ||
| function Compare-ALZPolicyHashTables($array1, $array2) { |
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Compare-ALZPolicyHashTables' uses a plural noun. A singular noun should be used instead. Warning
| $policyAssignmentsPath = '.\platform\alz\policy_assignments' | ||
| $archetypesDefinition = Get-ChildItem -Path $archetypesPath -Filter '*.json' | ||
|
|
||
| function Test-ALZManagementGroupIds { |
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Test-ALZManagementGroupIds' uses a plural noun. A singular noun should be used instead. Warning
| $referenceALZPolicyAssignments = $script:referenceALZPolicyAssignments | ||
|
|
||
| # Function to compare hashtables | ||
| function Compare-ALZPolicyHashTables($array1, $array2) { |
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Compare-ALZPolicyHashTables' uses a plural noun. A singular noun should be used instead. Warning
-ALZPolicyAssignmentsChecker- Execute the ALZPolicyAssignmentsChecker feature-ALZManagementGroupsIds- Provide the Management Group Ids of the deployed ALZ hierarchy (more details: Parameters)