Skip to content

Commit c5f6bc3

Browse files
authored
Merge pull request #216 from rebelinux/dev
v0.9.7
2 parents 412e41c + 507ffb5 commit c5f6bc3

35 files changed

+140
-123
lines changed

.github/workflows/CodeQL.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: PSScriptAnalyzer
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030

3131
- name: Run PSScriptAnalyzer
3232
uses: microsoft/[email protected]

.github/workflows/PSScriptAnalyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
name: Run PSScriptAnalyzer
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@v5
99
- name: lint
1010
uses: devblackops/github-action-psscriptanalyzer@master
1111
with:

.github/workflows/Release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66

77
jobs:
88
publish-to-gallery:
9-
runs-on: windows-2022
9+
runs-on: windows-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- name: Set PSRepository to Trusted for PowerShell Gallery
1313
shell: pwsh
1414
run: |
@@ -41,29 +41,29 @@ jobs:
4141
shell: pwsh
4242
run: |
4343
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
44-
# tweet:
45-
# needs: publish-to-gallery
46-
# runs-on: ubuntu-latest
47-
# steps:
48-
# - uses: Eomm/why-don-t-you-tweet@v2
49-
# # We don't want to tweet if the repository is not a public one
50-
# if: ${{ !github.event.repository.private }}
51-
# with:
52-
# # GitHub event payload
53-
# # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
54-
# tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Microsoft #ActiveDirectory #AsBuiltReport #PowerShell #MicrosoftMVP #MVPBuzz #cybersecurity #infosec"
55-
# env:
56-
# TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
57-
# TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
58-
# TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
59-
# 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/bluesky-post-action@v0.2.0
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 }} #Microsoft #ActiveDirectory #AsBuiltReport #PowerShell #MicrosoftMVP #MVPBuzz #cybersecurity #infosec"
67-
# env:
68-
# BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
69-
# BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
44+
tweet:
45+
needs: publish-to-gallery
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: Eomm/why-don-t-you-tweet@v2
49+
# We don't want to tweet if the repository is not a public one
50+
if: ${{ !github.event.repository.private }}
51+
with:
52+
# GitHub event payload
53+
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
54+
tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Microsoft #ActiveDirectory #AsBuiltReport #PowerShell #MicrosoftMVP #MVPBuzz #cybersecurity #infosec"
55+
env:
56+
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
57+
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
58+
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
59+
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/bluesky-post-action@v0.3.0
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 }} #Microsoft #ActiveDirectory #AsBuiltReport #PowerShell #MicrosoftMVP #MVPBuzz #cybersecurity #infosec"
67+
env:
68+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
69+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

AsBuiltReport.Microsoft.AD.psd1

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

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -54,23 +54,23 @@
5454
RequiredModules = @(
5555
@{
5656
ModuleName = 'AsBuiltReport.Core';
57-
ModuleVersion = '1.4.3'
57+
ModuleVersion = '1.5.0'
5858
},
5959
@{
6060
ModuleName = 'PSPKI';
61-
ModuleVersion = '4.2.0'
61+
ModuleVersion = '4.3.0'
6262
},
6363
@{
6464
ModuleName = 'PScriboCharts';
6565
ModuleVersion = '0.9.0'
6666
},
6767
@{
6868
ModuleName = 'Diagrammer.Microsoft.AD';
69-
ModuleVersion = '0.2.17'
69+
ModuleVersion = '0.2.18'
7070
},
7171
@{
7272
ModuleName = 'Diagrammer.Core';
73-
ModuleVersion = '0.2.27'
73+
ModuleVersion = '0.2.34'
7474
}
7575

7676
)

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ 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.7] - 2025-11-14
11+
12+
### Changed
13+
14+
- Update module version to 0.9.7
15+
- Upgrade Diagrammer.Core module to version `0.2.34`.
16+
- Upgrade Diagrammer.Microsoft.AD module to version `0.2.18`.
17+
- Upgrade zentered/bluesky-post-action to v0.3.0
18+
- Improve section paragraphs in multiple scripts for better clarity and understanding.
19+
20+
### Fixed
21+
22+
- Fix HealthChack in Get-AbrADDomainLastBackup script to correctly evaluate the 'Last Backup in Days' property as an integer.
23+
1024
## [0.9.6] - 2025-07-23
1125

1226
### Added

Src/Private/Get-AbrADCAAIA.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCAAIA {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.9.6
8+
Version: 0.9.7
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -29,7 +29,7 @@ function Get-AbrADCAAIA {
2929
process {
3030
if ($CA) {
3131
Section -Style Heading3 "Authority Information Access (AIA)" {
32-
Paragraph "This section details the Certification Authority's Authority Information Access (AIA) configuration."
32+
Paragraph "This section provides the Authority Information Access (AIA) configuration for the Certification Authority, which specifies where certificates and certificate revocation information can be retrieved."
3333
BlankLine
3434
try {
3535
Write-PScriboMessage -Message "Collecting AD CA Authority Information Access information on $($CA.Name)."

Src/Private/Get-AbrADCACRLSetting.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCACRLSetting {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.9.6
8+
Version: 0.9.7
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -29,7 +29,7 @@ function Get-AbrADCACRLSetting {
2929
process {
3030
try {
3131
Section -Style Heading3 "Certificate Revocation List (CRL)" {
32-
Paragraph "This section details the Certification Authority's Certificate Revocation List (CRL) Distribution Point configuration."
32+
Paragraph "This section provides detailed information about the Certificate Revocation List (CRL) distribution settings and health status for the Certification Authority."
3333
BlankLine
3434
Section -Style Heading4 "CRL Validity Period" {
3535
$OutObj = [System.Collections.ArrayList]::new()
@@ -101,7 +101,7 @@ function Get-AbrADCACRLSetting {
101101
}
102102
try {
103103
Section -Style Heading4 "CRL Distribution Point" {
104-
Paragraph "This section details the configuration of the Certification Authority's CRL Distribution Points."
104+
Paragraph "This section provides detailed information about the Certificate Revocation List (CRL) Distribution Points configured on the Certification Authority, including URI locations and publication settings."
105105
BlankLine
106106
Write-PScriboMessage -Message "Collecting AD CA CRL Distribution Point information on $($CA.NAme)."
107107
$CRL = Get-CRLDistributionPoint -CertificationAuthority $CA
@@ -145,7 +145,7 @@ function Get-AbrADCACRLSetting {
145145
}
146146
try {
147147
Section -Style Heading3 "AIA and CDP Health Status" {
148-
Paragraph "This section provides a health check of the Certification Authority by verifying the CA certificate chain status and validating all Certificate Revocation List (CDP) and Authority Information Access (AIA) URLs for each certificate in the chain."
148+
Paragraph "This section provides a comprehensive health check of the Certification Authority by verifying the CA certificate chain status and validating the accessibility of all Certificate Revocation List (CDP) and Authority Information Access (AIA) URLs for each certificate in the chain."
149149
BlankLine
150150
$OutObj = [System.Collections.ArrayList]::new()
151151
$CAHealth = Get-EnterprisePKIHealthStatus -CertificateAuthority $CA

Src/Private/Get-AbrADCACryptographyConfig.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrADCACryptographyConfig {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.9.6
8+
Version: 0.9.7
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -32,7 +32,7 @@ function Get-AbrADCACryptographyConfig {
3232
$CryptoConfig = Get-CACryptographyConfig -CertificationAuthority $CA
3333
if ($CryptoConfig) {
3434
Section -Style Heading3 "Cryptography Configuration" {
35-
Paragraph "This section provides detailed information about the cryptography configuration settings of the Certification Authority."
35+
Paragraph "The following section provides detailed information about the cryptography configuration settings for the Certification Authority, including algorithms, providers, and key specifications."
3636
BlankLine
3737
$OutObj = [System.Collections.ArrayList]::new()
3838
try {

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.9.6
8+
Version: 0.9.7
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -45,7 +45,7 @@ function Get-AbrADCAKeyRecoveryAgent {
4545

4646
if ($OutObj) {
4747
Section -Style Heading3 "Key Recovery Agent Certificate" {
48-
Paragraph "This section provides details about the Key Recovery Agent certificate, which is used to encrypt users' certificate private keys for storage in the CA database. If a user loses access to their certificate private key, the Key Recovery Agent can recover it, provided that key archival was performed for the certificate."
48+
Paragraph "This section provides details about the Key Recovery Agent certificate, which encrypts users' certificate private keys for storage in the CA database. If a user loses access to their certificate private key, the Key Recovery Agent can recover it when key archival was configured for the certificate."
4949
BlankLine
5050
foreach ($Item in $OutObj) {
5151
$TableParams = @{

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.9.6
8+
Version: 0.9.7
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -27,7 +27,7 @@ function Get-AbrADCARoot {
2727
try {
2828
if ($CAs | Where-Object { $_.IsRoot -like 'True' }) {
2929
Section -Style Heading2 "Enterprise Root Certificate Authority" {
30-
Paragraph "The following section details the Enterprise Root Certificate Authority (CA) configuration and status."
30+
Paragraph "The following section provides detailed information about the Enterprise Root Certificate Authority (CA) configuration and operational status."
3131
BlankLine
3232
foreach ($CA in ($CAs | Where-Object { $_.IsRoot -like 'True' })) {
3333
$OutObj = [System.Collections.ArrayList]::new()

0 commit comments

Comments
 (0)