Skip to content

Commit

Permalink
Merge pull request #188 from AsBuiltReport/dev
Browse files Browse the repository at this point in the history
v0.9.1 public release
  • Loading branch information
rebelinux authored Nov 16, 2024
2 parents 3381050 + 16b1b61 commit 4e3393f
Show file tree
Hide file tree
Showing 37 changed files with 360 additions and 313 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@ jobs:
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
bsky-post:
needs: publish-to-gallery
runs-on: ubuntu-latest
steps:
- uses: zentered/bluesky-post-action@v0.1.0
with:
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"
env:
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
6 changes: 3 additions & 3 deletions AsBuiltReport.Microsoft.AD.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'AsBuiltReport.Microsoft.AD.psm1'

# Version number of this module.
ModuleVersion = '0.9.0'
ModuleVersion = '0.9.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -66,11 +66,11 @@
},
@{
ModuleName = 'Diagrammer.Microsoft.AD';
ModuleVersion = '0.2.6'
ModuleVersion = '0.2.7'
},
@{
ModuleName = 'Diagrammer.Core';
ModuleVersion = '0.2.10'
ModuleVersion = '0.2.12'
}

)
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [0.9.1] - 2024-11-15

### Added

- Improve detection of empty fields in tables
- Improve detection of true/false elements in tables
- Update GitHub release workflow to add post to Bluesky social platform

### Changed

- Increase Diagrammer.Core minimum requirement
- Increase Diagrammer.Microsoft.AD minumum requirement

## [0.9.0] - 2024-10-13

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

### Changed

- Increase Diagrammer.Core minumum requirement
- Increase Diagrammer.Core minimum requirement
- Increase Diagrammer.Microsoft.AD minumum requirement
- Improve detection of Domain Controller availability (Test-WSMan)

Expand Down
12 changes: 6 additions & 6 deletions Src/Private/Get-AbrADCAAIA.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCAAIA {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -40,12 +40,12 @@ function Get-AbrADCAAIA {
$inObj = [ordered] @{
'Reg URI' = $URI.RegURI
'Config URI' = $URI.ConfigURI
'Flags' = ConvertTo-EmptyToFiller ($URI.Flags -join ", ")
'Server Publish' = ConvertTo-TextYN $URI.ServerPublish
'Include To Extension' = ConvertTo-TextYN $URI.IncludeToExtension
'OCSP' = ConvertTo-TextYN $URI.OCSP
'Flags' = ($URI.Flags -join ", ")
'Server Publish' = $URI.ServerPublish
'Include To Extension' = $URI.IncludeToExtension
'OCSP' = $URI.OCSP
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

$TableParams = @{
Name = "Authority Information Access - $($CA.Name)"
Expand Down
22 changes: 11 additions & 11 deletions Src/Private/Get-AbrADCACRLSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCACRLSetting {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -45,7 +45,7 @@ function Get-AbrADCACRLSetting {
'Delta CRL' = $VP.DeltaCRL
'Delta CRL Overlap' = $VP.DeltaCRLOverlap
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "CRL Validity Period $($VP.Name) Section: $($_.Exception.Message)"
}
Expand Down Expand Up @@ -77,7 +77,7 @@ function Get-AbrADCACRLSetting {
'Server Name' = $Flag.ComputerName.ToString().ToUpper().Split(".")[0]
'CRL Flags' = $Flag.CRLFlags
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "CRL Validity Period $($Flag.Name) Section: $($_.Exception.Message)"
}
Expand Down Expand Up @@ -114,14 +114,14 @@ function Get-AbrADCACRLSetting {
'Config URI' = $URI.ConfigURI
'Url Scheme' = $URI.UrlScheme
'ProjectedURI' = $URI.ProjectedURI
'Flags' = ConvertTo-EmptyToFiller ($URI.Flags -join ", ")
'CRL Publish' = ConvertTo-TextYN $URI.IncludeToExtension
'Delta CRL Publish' = ConvertTo-TextYN $URI.DeltaCRLPublish
'Add To Cert CDP' = ConvertTo-TextYN $URI.AddToCertCDP
'Add To Fresh est CRL' = ConvertTo-TextYN $URI.AddToFreshestCRL
'Add To Crl cdp' = ConvertTo-TextYN $URI.AddToCrlcdp
'Flags' = ($URI.Flags -join ", ")
'CRL Publish' = $URI.IncludeToExtension
'Delta CRL Publish' = $URI.DeltaCRLPublish
'Add To Cert CDP' = $URI.AddToCertCDP
'Add To Fresh est CRL' = $URI.AddToFreshestCRL
'Add To Crl cdp' = $URI.AddToCrlcdp
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

$TableParams = @{
Name = "CRL Distribution Point - $($CA.Name)"
Expand Down Expand Up @@ -162,7 +162,7 @@ function Get-AbrADCACRLSetting {
'Childs' = ($Health.Childs).Name
'Health' = $Health.Status
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning $_.Exception.Message
}
Expand Down
8 changes: 4 additions & 4 deletions Src/Private/Get-AbrADCACryptographyConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCACryptographyConfig {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -41,10 +41,10 @@ function Get-AbrADCACryptographyConfig {
'PublicKey Algorithm' = $CryptoConfig.PublicKeyAlgorithm | Select-Object -ExpandProperty FriendlyName
'Hashing Algorithm' = ($CryptoConfig.HashingAlgorithm | Select-Object -ExpandProperty FriendlyName).ToUpper()
'Provider Name' = $CryptoConfig.ProviderName
'Alternate Signature Algorithm' = ConvertTo-TextYN $CryptoConfig.AlternateSignatureAlgorithm
'Provider Is CNG' = ConvertTo-TextYN $CryptoConfig.ProviderIsCNG
'Alternate Signature Algorithm' = $CryptoConfig.AlternateSignatureAlgorithm
'Provider Is CNG' = $CryptoConfig.ProviderIsCNG
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

$TableParams = @{
Name = "Cryptography Configuration - $($ForestInfo.ToString().ToUpper())"
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADCAKeyRecoveryAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCAKeyRecoveryAgent {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -36,7 +36,7 @@ function Get-AbrADCAKeyRecoveryAgent {
'Server Name' = $KRA.ComputerName.ToString().ToUpper().Split(".")[0]
'Certificate' = $KRA.Certificate
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
}
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Key Recovery Agent Certificate Item)"
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADCARoot.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCARoot {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -42,7 +42,7 @@ function Get-AbrADCARoot {
}
'Status' = $CA.ServiceStatus
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
}

if ($HealthCheck.CA.Status) {
Expand Down
8 changes: 4 additions & 4 deletions Src/Private/Get-AbrADCASecurity.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCASecurity {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -41,7 +41,7 @@ function Get-AbrADCASecurity {
'Server Name' = $CFP.ComputerName
'Validity Period' = $CFP.ValidityPeriod
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Certificate Validity Period Table)"
}
Expand Down Expand Up @@ -73,7 +73,7 @@ function Get-AbrADCASecurity {
'Owner' = $ACL.Owner
'Group' = $ACL.Group
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning $_.Exception.Message
}
Expand Down Expand Up @@ -101,7 +101,7 @@ function Get-AbrADCASecurity {
'Access Control Type' = $ACL.AccessControlType
'Rights' = $ACL.Rights
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Access Control List Rights table)"
}
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADCASubordinate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCASubordinate {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -43,7 +43,7 @@ function Get-AbrADCASubordinate {
}
'Status' = $CA.ServiceStatus
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

if ($HealthCheck.CA.Status) {
$OutObj | Where-Object { $_.'Service Status' -notlike 'Running' } | Set-Style -Style Critical -Property 'Service Status'
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADCASummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCASummary {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -33,7 +33,7 @@ function Get-AbrADCASummary {
'Type' = $CA.Type
'Status' = $CA.ServiceStatus
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning $_.Exception.Message
}
Expand Down
14 changes: 7 additions & 7 deletions Src/Private/Get-AbrADCATemplate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADCATemplate {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -40,9 +40,9 @@ function Get-AbrADCATemplate {
'Template Name' = $Template.DisplayName
'Schema Version' = $Template.SchemaVersion
'Supported CA' = $Template.SupportedCA
'Autoenrollment' = ConvertTo-TextYN $Template.AutoenrollmentAllowed
'Autoenrollment' = $Template.AutoenrollmentAllowed
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (CA Certificate Templates table)"
}
Expand Down Expand Up @@ -74,9 +74,9 @@ function Get-AbrADCATemplate {
'Identity' = $Right.IdentityReference
'Access Control Type' = $Right.AccessControlType
'Rights' = $Right.Rights
'Inherited' = ConvertTo-TextYN $Right.IsInherited
'Inherited' = $Right.IsInherited
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Certificate Templates ACL Item)"
}
Expand Down Expand Up @@ -115,9 +115,9 @@ function Get-AbrADCATemplate {
'Template Name' = $Template.DisplayName
'Schema Version' = $Template.SchemaVersion
'Supported CA' = $Template.SupportedCA
'Autoenrollment' = ConvertTo-TextYN $Template.AutoenrollmentAllowed
'Autoenrollment' = $Template.AutoenrollmentAllowed
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Certificate Template In Active Directory Item)"
}
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADDCDiag.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADDCDiag {
.DESCRIPTION
.NOTES
Version: 0.9.0
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -68,7 +68,7 @@ function Get-AbrADDCDiag {
'Impact' = $Description[$Result.TestName][1]
'Description' = $Description[$Result.TestName][0]
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Active Directory DCDiag $($Result.TestName) Section: $($_.Exception.Message)"
}
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADDCRoleFeature.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADDCRoleFeature {
.DESCRIPTION
.NOTES
Version: 0.8.2
Version: 0.9.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -49,7 +49,7 @@ function Get-AbrADDCRoleFeature {
'Parent' = $Feature.FeatureType
'Description' = $Feature.Description
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Roles $($Feature.DisplayName) Section: $($_.Exception.Message)"
}
Expand Down
Loading

0 comments on commit 4e3393f

Please sign in to comment.