Skip to content

Commit 6fce6ee

Browse files
authored
Merge pull request #20 from AsBuiltReport/dev
v0.1.8.2
2 parents 2349097 + 8d4779e commit 6fce6ee

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

AsBuiltReport.Microsoft.Azure.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.Microsoft.Azure.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.1.8.1'
15+
ModuleVersion = '0.1.8.2'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# :arrows_clockwise: Microsoft Azure As Built Report Changelog
22

3+
## [[0.1.8.2](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.8.2)] - 2024-11-15
4+
5+
### Fixed
6+
* Fix issue where a report would not be generated if `Subscription` InfoLevel was set to 0
7+
8+
### Changed
9+
* Change Storage Account `Minimum TLS Version` healthcheck to highlight Critical
10+
11+
312
## [[0.1.8.1](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.8.1)] - 2024-11-13
413

514
### Added

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ The least privileged roles required to generate a Microsoft Azure As Built Repor
8888
<!-- ********** Add installation for any additional PowerShell module(s) ********** -->
8989
Open a PowerShell terminal window and install each of the required modules.
9090

91-
:warning: Microsoft Az 12.0.0 or higher is required. Please ensure older Az modules have been uninstalled.
91+
> [!NOTE]
92+
> Microsoft Az 12.0.0 or higher is required. Please ensure older Az modules have been uninstalled.
9293
9394
```powershell
9495
# Install
@@ -119,7 +120,7 @@ _Note: You are not limited to installing the module to those example paths, you
119120
The Microsoft Azure As Built Report utilises a JSON file to allow configuration of report information, options, detail and healthchecks.
120121
121122
> [!IMPORTANT]
122-
> Please rememeber to generate a new report JSON configuration file after each module update to ensure the report functions correctly.
123+
> Please remember to generate a new report JSON configuration file after each module update to ensure the report functions correctly.
123124
124125
A Microsoft Azure report configuration file can be generated by executing the following command;
125126
```powershell
@@ -240,7 +241,7 @@ The **StorageAccount** schema is used to configure health checks for Azure Stora
240241
| SecureTransfer | true / false | true | Highlights storage accounts which do not have secure transfer enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Secure transfer is disabled |
241242
| BlobAnonymousAccess | true / false | true | Highlights storage accounts which have Blob anonymous read access enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Anonymous read access is enabled |
242243
| PublicNetworkAccess | true / false | true | Highlights storage accounts which have public network access enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Public network access is enabled |
243-
| MinimumTlsVersion | true / false | true | Highlights storage accounts which have TLS 1.0 or TLS 1.1 configured | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) TLS version 1.0 or 1.1 configured |
244+
| MinimumTlsVersion | true / false | true | Highlights storage accounts which have TLS 1.0 or TLS 1.1 configured | ![Citical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) TLS version 1.0 or 1.1 configured |
244245

245246
#### VirtualMachine
246247
The **VirtualMachine** schema is used to configure health checks for Azure Virtual Machines.

Src/Private/Get-AbrAzStorageAccount.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrAzStorageAccount {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.1.6
8+
Version: 0.1.7
99
Author: Jonathan Colon / Tim Carman
1010
Twitter: @jcolonfzenpr / @tpcarman
1111
Github: rebelinux / tpcarman
@@ -78,7 +78,7 @@ function Get-AbrAzStorageAccount {
7878
} else {
7979
'Disabled'
8080
}
81-
'Minimum TLS Version' = ($AzStorageAccount.MinimumTlsVersion).Replace('_','.')
81+
'Minimum TLS Version' = $AzStorageAccount.MinimumTlsVersion -Replace "TLS(\d)_(\d)", 'TLS $1.$2'
8282
'Infrastructure Encryption' = if ($AzStorageAccount.RequireInfrastructureEncryption) {
8383
'Enabled'
8484
} else {
@@ -115,7 +115,7 @@ function Get-AbrAzStorageAccount {
115115
}
116116

117117
if ($Healthcheck.StorageAccount.MinimumTlsVersion) {
118-
$AzStorageAccountInfo | Where-Object { $_.'Minimum TLS Version' -ne 'TLS1.2' } | Set-Style -Style Warning -Property 'Minimum TLS Version'
118+
$AzStorageAccountInfo | Where-Object { $_.'Minimum TLS Version' -ne 'TLS 1.2' } | Set-Style -Style Critical -Property 'Minimum TLS Version'
119119
}
120120

121121
if ($InfoLevel.StorageAccount -ge 2) {

Src/Private/Get-AbrAzSubscription.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrAzSubscription {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.1.2
8+
Version: 0.1.3
99
Author: Tim Carman
1010
Twitter: @tpcarman
1111
Github: tpcarman
@@ -53,7 +53,6 @@ function Get-AbrAzSubscription {
5353
$AzSubscriptionInfo | Table @TableParams
5454
} else {
5555
Write-PScriboMessage -IsWarning 'No subscriptions found.'
56-
Break
5756
}
5857
} Catch {
5958
Write-PScriboMessage -IsWarning $($_.Exception.Message)

0 commit comments

Comments
 (0)