Skip to content

6.7.0 alz pa checker#283

Merged
JulianHayward merged 26 commits into
masterfrom
alz-policyAssignmentsChecker_base6.6.3
May 19, 2025
Merged

6.7.0 alz pa checker#283
JulianHayward merged 26 commits into
masterfrom
alz-policyAssignmentsChecker_base6.6.3

Conversation

@JulianHayward
Copy link
Copy Markdown
Owner

  • New feature "ALZ Policy Assignments Checker" - This new view, will compare the current deployed ALZ hierarchy with the ALZ archetypes definitions and point out the missing policy assignments. It will also reference the missing policy assignments' payloads and AzAdvertizer links.
    • New switch-parameter -ALZPolicyAssignmentsChecker - Execute the ALZPolicyAssignmentsChecker feature
    • New Parameter -ALZManagementGroupsIds - Provide the Management Group Ids of the deployed ALZ hierarchy (more details: Parameters)

sebassem and others added 26 commits December 16, 2024 11:47
…patch

Alz policy assignments checker patch
Comment thread pwsh/AzGovVizParallel.ps1
$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

The cmdlet 'Test-ALZManagementGroupIds' uses a plural noun. A singular noun should be used instead.
Comment thread pwsh/AzGovVizParallel.ps1
$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

The cmdlet 'Compare-ALZPolicyHashTables' uses a plural noun. A singular noun should be used instead.
$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

The cmdlet 'Test-ALZManagementGroupIds' uses a plural noun. A singular noun should be used instead.
$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

The cmdlet 'Compare-ALZPolicyHashTables' uses a plural noun. A singular noun should be used instead.
@JulianHayward JulianHayward merged commit 6f245aa into master May 19, 2025
2 of 3 checks passed
@JulianHayward JulianHayward deleted the alz-policyAssignmentsChecker_base6.6.3 branch May 18, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants