Skip to content

Commit 60506be

Browse files
committed
0.1.7 release
### Added * Add support for Azure Policy definitions * Add Try/Catch blocks for improved error handling ### Fixed * Fix issue with Azure Subscription Lookup Hashtable * Fix issue with Azure Policy assignments (Fix [#16](#16)) ### Changed * Performance improvements * Improve reporting for Azure Tenant * Improve reporting for Azure Policy assignments * Improve reporting for Key Vaults * Improve reporting for Storage Accounts * Improve reporting for Network Security Groups
1 parent 6966050 commit 60506be

39 files changed

+2472
-1466
lines changed

AsBuiltReport.Microsoft.Azure.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"ShowTableCaptions": true
1010
},
1111
"Options": {
12-
"ShowSectionInfo": true
12+
"ShowSectionInfo": true,
13+
"ShowTags": true
1314
},
1415
"Filter": {
1516
"Subscription": ["*"]
@@ -24,7 +25,10 @@
2425
"KeyVault": 1,
2526
"LoadBalancer": 1,
2627
"NetworkSecurityGroup": 1,
27-
"PolicyAssignment": 1,
28+
"Policy": {
29+
"Assignments": 1,
30+
"Definitions": 0
31+
},
2832
"RecoveryServicesVault": 1,
2933
"RouteTable": 1,
3034
"SiteRecovery": 1,
@@ -42,7 +46,9 @@
4246
},
4347
"StorageAccount": {
4448
"ProvisioningState": true,
45-
"EnableHttpsTrafficOnly": true,
49+
"StorageAccountKeyAccess": true,
50+
"SecureTransfer": true,
51+
"BlobAnonymousAccess": true,
4652
"PublicNetworkAccess": true,
4753
"MinimumTlsVersion": true
4854
},

AsBuiltReport.Microsoft.Azure.psd1

Lines changed: 3 additions & 3 deletions
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.6'
15+
ModuleVersion = '0.1.7'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -27,7 +27,7 @@ Author = 'Tim Carman'
2727
# CompanyName = 'Unknown'
2828

2929
# Copyright statement for this module
30-
Copyright = '(c) 2023 Tim Carman. All rights reserved.'
30+
Copyright = '(c) 2024 Tim Carman. All rights reserved.'
3131

3232
# Description of the functionality provided by this module
3333
Description = 'A PowerShell module to generate an as built report on the configuration of Microsoft Azure.'
@@ -54,7 +54,7 @@ Description = 'A PowerShell module to generate an as built report on the configu
5454
RequiredModules = @(
5555
@{
5656
ModuleName = 'AsBuiltReport.Core';
57-
ModuleVersion = '1.3.0'
57+
ModuleVersion = '1.4.0'
5858
}
5959
)
6060

CHANGELOG.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,66 @@
11
# :arrows_clockwise: Microsoft Azure As Built Report Changelog
22

3+
## [[0.1.7](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.7)] - 2024-10-13
4+
5+
### Added
6+
* Add support for Azure Policy definitions
7+
* Add Try/Catch blocks for improved error handling
8+
9+
### Fixed
10+
* Fix issue with Azure Subscription Lookup Hashtable
11+
* Fix issue with Azure Policy assignments (Fix [#16](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/16))
12+
13+
### Changed
14+
* Performance improvements
15+
* Improve reporting for Azure Tenant
16+
* Improve reporting for Azure Policy assignments
17+
* Improve reporting for Key Vaults
18+
* Improve reporting for Storage Accounts
19+
* Improve reporting for Network Security Groups
20+
321
## [[0.1.6](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.6)] - 2023-11-14
422

523
### Added
6-
* Added initial support for Route Tables (@howardhaooooo)
24+
* Add initial support for Route Tables (@howardhaooooo)
725

826
## [[0.1.5](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.5)] - 2023-05-24
927

1028
### Added
11-
* Added initial support for Storage Account (@rebelinux)
29+
* Add initial support for Storage Account (@rebelinux)
1230

1331
### Fixed
14-
* Fixed issue with Az module version check (Fix [#10](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/10))
32+
* Fix issue with Az module version check (Fix [#10](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/10))
1533

1634
## [[0.1.4](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.4)] - 2023-03-19
1735

1836
### Added
19-
* Added function to check for Microsoft Azure PowerShell module
20-
* Added `ShowSectionInfo` option to provide information about Azure resources
37+
* Add function to check for Microsoft Azure PowerShell module
38+
* Add `ShowSectionInfo` option to provide information about Azure resources
2139

2240
## [[0.1.3](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.3)] - 2023-03-17
2341

2442
### Added
25-
* Added examples to `README.md`
26-
* Added module information and version checks to verbose messaging
43+
* Add examples to `README.md`
44+
* Add module information and version checks to verbose messaging
2745
### Changed
2846
* Further improvements to section headings & TOC structure
29-
* Updated Required Privileges information in `README.md`
47+
* Update Required Privileges information in `README.md`
3048

3149
### Fixed
32-
* Fixes [#4](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/4)
33-
* Fixes [#5](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/5)
34-
* Fixes [#6](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/6)
50+
* Fix [#4](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/4)
51+
* Fix [#5](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/5)
52+
* Fix [#6](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/6)
3553

3654
## [[0.1.2](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/releases/tag/v0.1.2)] - 2023-02-23
3755

3856
### Changed
39-
* Improved section heading & TOC structure
40-
* Removed Microsoft logo from default report style due to [licensing requirements](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks)
41-
* Changed default report style font to 'Segoe Ui' to align with [Microsoft guidelines](https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/f/font-font-style)
42-
* Improved bug and feature request templates
57+
* Improve section heading & TOC structure
58+
* Remove Microsoft logo from default report style due to [licensing requirements](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks)
59+
* Change default report style font to 'Segoe Ui' to align with [Microsoft guidelines](https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/f/font-font-style)
60+
* Improve bug and feature request templates
4361

4462
### Fixed
45-
* Fixes [#1](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/1)
63+
* Fix [#1](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.Azure/issues/1)
4664

4765
## [0.1.1] - 2022-02-14
4866

README.md

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

90-
:warning: Microsoft Az 9.4.0 or higher is required. Please ensure older Az modules have been uninstalled.
90+
:warning: Microsoft Az 12.0.0 or higher is required. Please ensure older Az modules have been uninstalled.
9191

9292
```powershell
93-
install-module Az -MinimumVersion 9.4.0
93+
install-module Az -MinimumVersion 12.0.0
9494
install-module AsBuiltReport.Microsoft.Azure
9595
```
9696

@@ -143,6 +143,7 @@ The **Options** schema allows certain options within the report to be toggled on
143143
| Sub-Schema | Setting | Default | Description |
144144
|--------------------|--------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
145145
| ShowSectionInfo | true / false | true | Toggle to enable/disable information relating to Azure resources within each section. |
146+
| ShowTags | true / false | true | Toggle to enable/disable the display of Azure resource tags. <br><br> _**Note:** Reporting of tags is not currently available on all Azure resources. Tags will only be displayed for Azure resources when the relevant section [InfoLevel](#infolevel) is configured to 2 or higher._ |
146147

147148
### Filter
148149
The **Filter** schema allows report content to be filtered to specific Azure subscriptions within a tenant.
@@ -189,7 +190,9 @@ The table below outlines the default and maximum **InfoLevel** settings for each
189190
| IpGroup | 1 | 2 |
190191
| KeyVault | 1 | 1 |
191192
| LoadBalancer | 1 | 2 |
192-
| PolicyAssignment | 1 | 1 |
193+
| NetworkSecurityGroup | 1 | 2 |
194+
| Policy > Assignments | 1 | 2 |
195+
| Policy > Definitions | 0 | 1 |
193196
| RecoveryServicesVault | 1 | 2 |
194197
| RouteTable | 1 | 2 |
195198
| SiteRecovery | 1 | 1 |
@@ -205,7 +208,7 @@ The **ExpressRoute** schema is used to configure health checks for Azure Express
205208

206209
| Sub-Schema | Setting | Default | Description | Highlight |
207210
|---------------|--------------|---------|-------------|---------------------------------------------------------------------------------------------------|
208-
| CircuitStatus | true / false | true | Highlights ExpressRoute circuits which are not enabled | ![Critical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) ExpressRoute circuit is not enabled |
211+
| CircuitStatus | true / false | true | Highlights ExpressRoute circuits which are disabled | ![Critical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) ExpressRoute circuit is disabled |
209212

210213
#### SiteRecovery
211214
The **SiteRecovery** schema is used to configure health checks for Azure Site Recovery.
@@ -218,20 +221,22 @@ The **SiteRecovery** schema is used to configure health checks for Azure Site Re
218221
#### StorageAccount
219222
The **StorageAccount** schema is used to configure health checks for Azure Storage Account.
220223

221-
| Sub-Schema | Setting | Default | Description | Highlight |
222-
|------------------------|--------------|---------|-------------|----------------------------------------------------------------------------------------------------|
223-
| ProvisioningState | true / false | true | | ![Critical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) Provisioning is in a critical state |
224-
| EnableHttpsTrafficOnly | true / false | true | | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) |
225-
| PublicNetworkAccess | true / false | true | | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) |
226-
| MinimumTlsVersion | true / false | true | | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) |
224+
| Sub-Schema | Setting | Default | Description | Highlight |
225+
|-------------------------|--------------|---------|-------------|----------------------------------------------------------------------------------------------------|
226+
| ProvisioningState | true / false | true | Highlights storage accounts which are in a critical state | ![Critical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) Provisioning is in a critical state |
227+
| StorageAccountKeyAccess | true / false | true | Highlights storage accounts which have storage account key access enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Storage account key access is enabled |
228+
| 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 |
229+
| 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 |
230+
| 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 |
231+
| 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 |
227232

228233
#### VirtualMachine
229234
The **VirtualMachine** schema is used to configure health checks for Azure Virtual Machines.
230235

231236
| Sub-Schema | Setting | Default | Description | Highlight |
232237
|-----------------|--------------|---------|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
233238
| Status | true / false | true | Highlights VMs which are not in a running state | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) VM is in a deallocated state |
234-
| DiskEncryption | true / false | true | Highlights VMs which do not have disk encryption enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Disk encryption is not enabled |
239+
| DiskEncryption | true / false | true | Highlights VMs which do not have disk encryption enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Disk encryption is disabled |
235240
| BootDiagnostics | true / false | true | Highlights VMs which do not have boot diagnostics enabled with a custom storage account | ![Critical](https://via.placeholder.com/15/FEDDD7/FEDDD7.png) Boot diagnostics is disabled <br> ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Boot diagnostics is enabled with a managed storage account |
236241
| BackupEnabled | true / false | true | Highlights VMs which do not have Azure Backup enabled | ![Warning](https://via.placeholder.com/15/FFF4C7/FFF4C7.png) Backup is disabled |
237242
## :computer: Examples

0 commit comments

Comments
 (0)