Skip to content

Commit

Permalink
Merge pull request #263 from JulianHayward/6.6.1
Browse files Browse the repository at this point in the history
6.6.1
  • Loading branch information
JulianHayward authored Nov 1, 2024
2 parents 7fd176e + 2159901 commit 896e555
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 15 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ The [Azure Governance Visualizer accelerator](https://github.com/Azure/Azure-Gov

## Release history

**Changes** (2024-November-01 / 6.6.1 Patch)

- HTML fix filters __TenantSummary__ PolicyAssignment, __ScopeInsights__ PolicySetAssignments
- use [AzAPICall](https://aka.ms/AzAPICall) PowerShell module version 1.2.4 (Handle 'subscription not registered' `/providers/Microsoft.Security/settings`)

**Changes** (2024-October-26 / 6.6.0 Minor)

- Microsoft Defender for Cloud Coverage (Tenant Summary and CSV export). Example html:
Expand Down Expand Up @@ -611,6 +616,7 @@ Azure Governance Visualizer polls the following APIs
| ARM | 2024-01-01 | /subscriptions/`subscriptionId`/providers/Microsoft.Security/pricings |
| ARM | 2020-01-01 | /subscriptions/`subscriptionId`/providers/Microsoft.Security/securescores |
| ARM | 2020-01-01-preview | /subscriptions/`subscriptionId`/providers/Microsoft.Security/securityContacts |
| ARM | 2022-05-01 | /subscriptions/`subscriptionId`/providers/Microsoft.Security/settings |
| ARM | 2019-10-01 | /subscriptions/`subscriptionId`/providers |
| ARM | 2021-04-01 | /subscriptions/`subscriptionId`/resourcegroups |
| ARM | 2024-03-01 | /subscriptions/`subscriptionId`/resources |
Expand Down
5 changes: 5 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

### Azure Governance Visualizer version 6

**Changes** (2024-November-01 / 6.6.1 Patch)

- HTML fix filters __TenantSummary__ PolicyAssignment, __ScopeInsights__ PolicySetAssignments
- use [AzAPICall](https://aka.ms/AzAPICall) PowerShell module version 1.2.4 (Handle 'subscription not registered' `/providers/Microsoft.Security/settings`)

**Changes** (2024-October-26 / 6.6.0 Minor)

- Microsoft Defender for Cloud Coverage (Tenant Summary and CSV export)
Expand Down
14 changes: 7 additions & 7 deletions pwsh/AzGovVizParallel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -371,14 +371,14 @@ Param
$Product = 'AzGovViz',

[string]
$ProductVersion = '6.6.0',
$ProductVersion = '6.6.1',

[string]
$GithubRepository = 'aka.ms/AzGovViz',

# <--- AzAPICall related parameters #consult the AzAPICall GitHub repository for details aka.ms/AzAPICall
[string]
$AzAPICallVersion = '1.2.3',
$AzAPICallVersion = '1.2.4',

[switch]
$DebugAzAPICall,
Expand Down Expand Up @@ -12846,7 +12846,7 @@ btn_reset: true, highlight_keywords: true, alternate_rows: true, auto_filter: {
linked_filters: true,
col_1: 'select',
col_4: 'select',
col_7: 'select',
col_6: 'select',
col_8: 'select',
locale: 'en-US',
col_types: [
Expand Down Expand Up @@ -18484,7 +18484,7 @@ extensions: [{ name: 'sort' }]
col_11: 'select',
col_12: 'select',
col_14: 'select',
col_16: 'select',
col_15: 'select',
col_17: 'select',
locale: 'en-US',
col_types: [
Expand Down Expand Up @@ -35466,14 +35466,14 @@ if (-not $ignoreARMLocation) {
#EndRegion initAZAPICall

#region required AzAPICall version
if (-not ([System.Version]"$($azapicallConf['htParameters'].azAPICallModuleVersion)" -ge [System.Version]'1.2.1')) {
if (-not ([System.Version]"$($azapicallConf['htParameters'].azAPICallModuleVersion)" -ge [System.Version]'1.2.4')) {
Write-Host ''
Write-Host 'Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version check failed -> https://aka.ms/AzAPICall; https://www.powershellgallery.com/packages/AzAPICall'
throw "This version of Azure Governance Visualizer '$ProductVersion' requires AzAPICall PowerShell module version '1.2.1' or greater"
throw "This version of Azure Governance Visualizer '$ProductVersion' requires AzAPICall PowerShell module version '1.2.4' or greater"
}
else {
Write-Host ''
Write-Host "Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version requirement check succeeded: '1.2.1' or greater - current: '$($azapicallConf['htParameters'].azAPICallModuleVersion)' " -ForegroundColor Green
Write-Host "Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version requirement check succeeded: '1.2.4' or greater - current: '$($azapicallConf['htParameters'].azAPICallModuleVersion)' " -ForegroundColor Green
}
#endregion required AzAPICall version

Expand Down
10 changes: 5 additions & 5 deletions pwsh/dev/devAzGovVizParallel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -371,14 +371,14 @@ Param
$Product = 'AzGovViz',

[string]
$ProductVersion = '6.6.0',
$ProductVersion = '6.6.1',

[string]
$GithubRepository = 'aka.ms/AzGovViz',

# <--- AzAPICall related parameters #consult the AzAPICall GitHub repository for details aka.ms/AzAPICall
[string]
$AzAPICallVersion = '1.2.3',
$AzAPICallVersion = '1.2.4',

[switch]
$DebugAzAPICall,
Expand Down Expand Up @@ -854,14 +854,14 @@ if (-not $ignoreARMLocation) {
#EndRegion initAZAPICall

#region required AzAPICall version
if (-not ([System.Version]"$($azapicallConf['htParameters'].azAPICallModuleVersion)" -ge [System.Version]'1.2.1')) {
if (-not ([System.Version]"$($azapicallConf['htParameters'].azAPICallModuleVersion)" -ge [System.Version]'1.2.4')) {
Write-Host ''
Write-Host 'Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version check failed -> https://aka.ms/AzAPICall; https://www.powershellgallery.com/packages/AzAPICall'
throw "This version of Azure Governance Visualizer '$ProductVersion' requires AzAPICall PowerShell module version '1.2.1' or greater"
throw "This version of Azure Governance Visualizer '$ProductVersion' requires AzAPICall PowerShell module version '1.2.4' or greater"
}
else {
Write-Host ''
Write-Host "Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version requirement check succeeded: '1.2.1' or greater - current: '$($azapicallConf['htParameters'].azAPICallModuleVersion)' " -ForegroundColor Green
Write-Host "Azure Governance Visualizer version '$ProductVersion' - AzAPICall PowerShell module version requirement check succeeded: '1.2.4' or greater - current: '$($azapicallConf['htParameters'].azAPICallModuleVersion)' " -ForegroundColor Green
}
#endregion required AzAPICall version

Expand Down
2 changes: 1 addition & 1 deletion pwsh/dev/functions/processScopeInsightsMgOrSub.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3008,7 +3008,7 @@ btn_reset: true, highlight_keywords: true, alternate_rows: true, auto_filter: {
linked_filters: true,
col_1: 'select',
col_4: 'select',
col_7: 'select',
col_6: 'select',
col_8: 'select',
locale: 'en-US',
col_types: [
Expand Down
2 changes: 1 addition & 1 deletion pwsh/dev/functions/processTenantSummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4337,7 +4337,7 @@ extensions: [{ name: 'sort' }]
col_11: 'select',
col_12: 'select',
col_14: 'select',
col_16: 'select',
col_15: 'select',
col_17: 'select',
locale: 'en-US',
col_types: [
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"ProductVersion": "6.6.0"
"ProductVersion": "6.6.1"
}

0 comments on commit 896e555

Please sign in to comment.