Skip to content

Commit

Permalink
6.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianHayward committed Sep 19, 2024
1 parent 42618ac commit 75abaf2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,13 @@ The [Azure Governance Visualizer accelerator](https://github.com/Azure/Azure-Gov

## Release history

**Changes** (2024-September-19 / 6.5.4 Patch)

- minor PSScriptAnalyzer finding resolved

**Changes** (2024-September-17 / 6.5.3 Patch)

- fix stop error for subscriptions with null valued quotaId. the function detailSubscription uses `.startsWith()` method to check for `AAD_` but cannot validate when a null-valued `.quotaId` occurs.
- fix stop error for subscriptions with null valued quotaId. the function detailSubscription uses `.startsWith()` method to check for `AAD_` but cannot validate when a null-valued `.quotaId` occurs.

[Full release history](history.md)

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-September-19 / 6.5.4 Patch)

- minor PSScriptAnalyzer finding resolved

**Changes** (2024-September-17 / 6.5.3 Patch)

- fix stop error for subscriptions with null valued quotaId. the function detailSubscription uses `.startsWith()` method to check for `AAD_` but cannot validate when a null-valued `.quotaId` occurs.
Expand Down
4 changes: 2 additions & 2 deletions pwsh/AzGovVizParallel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ Param
$Product = 'AzGovViz',

[string]
$ProductVersion = '6.5.3',
$ProductVersion = '6.5.4',

[string]
$GithubRepository = 'aka.ms/AzGovViz',
Expand Down Expand Up @@ -2435,7 +2435,7 @@ function detailSubscriptions {
foreach ($childrenSubscription in $childrenSubscriptions) {

$sub = $htAllSubscriptionsFromAPI.($childrenSubscription.name)
if ($sub.subDetails.subscriptionPolicies.quotaId -eq $null) {
if ($null -eq $sub.subDetails.subscriptionPolicies.quotaId) {
$null = $script:outOfScopeSubscriptions.Add([PSCustomObject]@{
subscriptionId = $childrenSubscription.name
subscriptionName = $childrenSubscription.properties.displayName
Expand Down
2 changes: 1 addition & 1 deletion pwsh/dev/devAzGovVizParallel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ Param
$Product = 'AzGovViz',

[string]
$ProductVersion = '6.5.3',
$ProductVersion = '6.5.4',

[string]
$GithubRepository = 'aka.ms/AzGovViz',
Expand Down
2 changes: 1 addition & 1 deletion pwsh/dev/functions/detailSubscriptions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
foreach ($childrenSubscription in $childrenSubscriptions) {

$sub = $htAllSubscriptionsFromAPI.($childrenSubscription.name)
if ($sub.subDetails.subscriptionPolicies.quotaId -eq $null) {
if ($null -eq $sub.subDetails.subscriptionPolicies.quotaId) {
$null = $script:outOfScopeSubscriptions.Add([PSCustomObject]@{
subscriptionId = $childrenSubscription.name
subscriptionName = $childrenSubscription.properties.displayName
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.5.3"
"ProductVersion": "6.5.4"
}

0 comments on commit 75abaf2

Please sign in to comment.