Skip to content

Commit 4e3393f

Browse files
authored
Merge pull request #188 from AsBuiltReport/dev
v0.9.1 public release
2 parents 3381050 + 16b1b61 commit 4e3393f

37 files changed

+360
-313
lines changed

.github/workflows/Release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ jobs:
5757
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
5858
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
5959
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
60+
bsky-post:
61+
needs: publish-to-gallery
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: zentered/[email protected]
65+
with:
66+
post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Veeam #AsBuiltReport #PowerShell #VeeamVanguard #VeeamLegend"
67+
env:
68+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
69+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

AsBuiltReport.Microsoft.AD.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.Microsoft.AD.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.0'
15+
ModuleVersion = '0.9.1'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -66,11 +66,11 @@
6666
},
6767
@{
6868
ModuleName = 'Diagrammer.Microsoft.AD';
69-
ModuleVersion = '0.2.6'
69+
ModuleVersion = '0.2.7'
7070
},
7171
@{
7272
ModuleName = 'Diagrammer.Core';
73-
ModuleVersion = '0.2.10'
73+
ModuleVersion = '0.2.12'
7474
}
7575

7676
)

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
##### This project is community maintained and has no sponsorship from Microsoft, its employees or any of its affiliates.
99

10+
## [0.9.1] - 2024-11-15
11+
12+
### Added
13+
14+
- Improve detection of empty fields in tables
15+
- Improve detection of true/false elements in tables
16+
- Update GitHub release workflow to add post to Bluesky social platform
17+
18+
### Changed
19+
20+
- Increase Diagrammer.Core minimum requirement
21+
- Increase Diagrammer.Microsoft.AD minumum requirement
22+
1023
## [0.9.0] - 2024-10-13
1124

1225
### Added
@@ -16,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1629

1730
### Changed
1831

19-
- Increase Diagrammer.Core minumum requirement
32+
- Increase Diagrammer.Core minimum requirement
2033
- Increase Diagrammer.Microsoft.AD minumum requirement
2134
- Improve detection of Domain Controller availability (Test-WSMan)
2235

Src/Private/Get-AbrADCAAIA.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCAAIA {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -40,12 +40,12 @@ function Get-AbrADCAAIA {
4040
$inObj = [ordered] @{
4141
'Reg URI' = $URI.RegURI
4242
'Config URI' = $URI.ConfigURI
43-
'Flags' = ConvertTo-EmptyToFiller ($URI.Flags -join ", ")
44-
'Server Publish' = ConvertTo-TextYN $URI.ServerPublish
45-
'Include To Extension' = ConvertTo-TextYN $URI.IncludeToExtension
46-
'OCSP' = ConvertTo-TextYN $URI.OCSP
43+
'Flags' = ($URI.Flags -join ", ")
44+
'Server Publish' = $URI.ServerPublish
45+
'Include To Extension' = $URI.IncludeToExtension
46+
'OCSP' = $URI.OCSP
4747
}
48-
$OutObj = [pscustomobject]$inobj
48+
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)
4949

5050
$TableParams = @{
5151
Name = "Authority Information Access - $($CA.Name)"

Src/Private/Get-AbrADCACRLSetting.ps1

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCACRLSetting {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -45,7 +45,7 @@ function Get-AbrADCACRLSetting {
4545
'Delta CRL' = $VP.DeltaCRL
4646
'Delta CRL Overlap' = $VP.DeltaCRLOverlap
4747
}
48-
$OutObj += [pscustomobject]$inobj
48+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
4949
} catch {
5050
Write-PScriboMessage -IsWarning "CRL Validity Period $($VP.Name) Section: $($_.Exception.Message)"
5151
}
@@ -77,7 +77,7 @@ function Get-AbrADCACRLSetting {
7777
'Server Name' = $Flag.ComputerName.ToString().ToUpper().Split(".")[0]
7878
'CRL Flags' = $Flag.CRLFlags
7979
}
80-
$OutObj += [pscustomobject]$inobj
80+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
8181
} catch {
8282
Write-PScriboMessage -IsWarning "CRL Validity Period $($Flag.Name) Section: $($_.Exception.Message)"
8383
}
@@ -114,14 +114,14 @@ function Get-AbrADCACRLSetting {
114114
'Config URI' = $URI.ConfigURI
115115
'Url Scheme' = $URI.UrlScheme
116116
'ProjectedURI' = $URI.ProjectedURI
117-
'Flags' = ConvertTo-EmptyToFiller ($URI.Flags -join ", ")
118-
'CRL Publish' = ConvertTo-TextYN $URI.IncludeToExtension
119-
'Delta CRL Publish' = ConvertTo-TextYN $URI.DeltaCRLPublish
120-
'Add To Cert CDP' = ConvertTo-TextYN $URI.AddToCertCDP
121-
'Add To Fresh est CRL' = ConvertTo-TextYN $URI.AddToFreshestCRL
122-
'Add To Crl cdp' = ConvertTo-TextYN $URI.AddToCrlcdp
117+
'Flags' = ($URI.Flags -join ", ")
118+
'CRL Publish' = $URI.IncludeToExtension
119+
'Delta CRL Publish' = $URI.DeltaCRLPublish
120+
'Add To Cert CDP' = $URI.AddToCertCDP
121+
'Add To Fresh est CRL' = $URI.AddToFreshestCRL
122+
'Add To Crl cdp' = $URI.AddToCrlcdp
123123
}
124-
$OutObj = [pscustomobject]$inobj
124+
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)
125125

126126
$TableParams = @{
127127
Name = "CRL Distribution Point - $($CA.Name)"
@@ -162,7 +162,7 @@ function Get-AbrADCACRLSetting {
162162
'Childs' = ($Health.Childs).Name
163163
'Health' = $Health.Status
164164
}
165-
$OutObj += [pscustomobject]$inobj
165+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
166166
} catch {
167167
Write-PScriboMessage -IsWarning $_.Exception.Message
168168
}

Src/Private/Get-AbrADCACryptographyConfig.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCACryptographyConfig {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -41,10 +41,10 @@ function Get-AbrADCACryptographyConfig {
4141
'PublicKey Algorithm' = $CryptoConfig.PublicKeyAlgorithm | Select-Object -ExpandProperty FriendlyName
4242
'Hashing Algorithm' = ($CryptoConfig.HashingAlgorithm | Select-Object -ExpandProperty FriendlyName).ToUpper()
4343
'Provider Name' = $CryptoConfig.ProviderName
44-
'Alternate Signature Algorithm' = ConvertTo-TextYN $CryptoConfig.AlternateSignatureAlgorithm
45-
'Provider Is CNG' = ConvertTo-TextYN $CryptoConfig.ProviderIsCNG
44+
'Alternate Signature Algorithm' = $CryptoConfig.AlternateSignatureAlgorithm
45+
'Provider Is CNG' = $CryptoConfig.ProviderIsCNG
4646
}
47-
$OutObj = [pscustomobject]$inobj
47+
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)
4848

4949
$TableParams = @{
5050
Name = "Cryptography Configuration - $($ForestInfo.ToString().ToUpper())"

Src/Private/Get-AbrADCAKeyRecoveryAgent.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCAKeyRecoveryAgent {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -36,7 +36,7 @@ function Get-AbrADCAKeyRecoveryAgent {
3636
'Server Name' = $KRA.ComputerName.ToString().ToUpper().Split(".")[0]
3737
'Certificate' = $KRA.Certificate
3838
}
39-
$OutObj += [pscustomobject]$inobj
39+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
4040
}
4141
} catch {
4242
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Key Recovery Agent Certificate Item)"

Src/Private/Get-AbrADCARoot.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCARoot {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -42,7 +42,7 @@ function Get-AbrADCARoot {
4242
}
4343
'Status' = $CA.ServiceStatus
4444
}
45-
$OutObj += [pscustomobject]$inobj
45+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
4646
}
4747

4848
if ($HealthCheck.CA.Status) {

Src/Private/Get-AbrADCASecurity.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCASecurity {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -41,7 +41,7 @@ function Get-AbrADCASecurity {
4141
'Server Name' = $CFP.ComputerName
4242
'Validity Period' = $CFP.ValidityPeriod
4343
}
44-
$OutObj += [pscustomobject]$inobj
44+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
4545
} catch {
4646
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Certificate Validity Period Table)"
4747
}
@@ -73,7 +73,7 @@ function Get-AbrADCASecurity {
7373
'Owner' = $ACL.Owner
7474
'Group' = $ACL.Group
7575
}
76-
$OutObj += [pscustomobject]$inobj
76+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
7777
} catch {
7878
Write-PScriboMessage -IsWarning $_.Exception.Message
7979
}
@@ -101,7 +101,7 @@ function Get-AbrADCASecurity {
101101
'Access Control Type' = $ACL.AccessControlType
102102
'Rights' = $ACL.Rights
103103
}
104-
$OutObj += [pscustomobject]$inobj
104+
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
105105
} catch {
106106
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Access Control List Rights table)"
107107
}

Src/Private/Get-AbrADCASubordinate.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCASubordinate {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.8.1
8+
Version: 0.9.1
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -43,7 +43,7 @@ function Get-AbrADCASubordinate {
4343
}
4444
'Status' = $CA.ServiceStatus
4545
}
46-
$OutObj = [pscustomobject]$inobj
46+
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)
4747

4848
if ($HealthCheck.CA.Status) {
4949
$OutObj | Where-Object { $_.'Service Status' -notlike 'Running' } | Set-Style -Style Critical -Property 'Service Status'

0 commit comments

Comments
 (0)