Skip to content

Commit

Permalink
Health Check - Validate the use of Full Modern Authentication for Org…
Browse files Browse the repository at this point in the history
…anizations AsBuiltReport#28
  • Loading branch information
rebelinux committed May 24, 2024
1 parent c41eb73 commit 5a7d9ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Src/Private/Get-AbrVb365OrganizationEXConnSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrVb365OrganizationEXConnSetting {
.DESCRIPTION
Documents the configuration of Veeam VB365 in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.2.1
Version: 0.3.2
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -49,6 +49,10 @@ function Get-AbrVb365OrganizationEXConnSetting {
$OrganizationInfo += [PSCustomObject]$InObj
}

if ($HealthCheck.Infrastructure.Organization) {
$OrganizationInfo | Where-Object { $_.'Authentication Type' -eq 'ApplicationOnly' } | Set-Style -Style Warning -Property 'Authentication Type'
}

foreach ($Org in $OrganizationInfo) {
Section -ExcludeFromTOC -Style NOTOCHeading5 "$($Org.'Application Id')" {
$TableParams = @{
Expand Down
6 changes: 5 additions & 1 deletion Src/Private/Get-AbrVb365OrganizationSPConnSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrVb365OrganizationSPConnSetting {
.DESCRIPTION
Documents the configuration of Veeam VB365 in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.2.1
Version: 0.3.2
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -49,6 +49,10 @@ function Get-AbrVb365OrganizationSPConnSetting {
$OrganizationInfo += [PSCustomObject]$InObj
}

if ($HealthCheck.Infrastructure.Organization) {
$OrganizationInfo | Where-Object { $_.'Authentication Type' -eq 'ApplicationOnly' } | Set-Style -Style Warning -Property 'Authentication Type'
}

foreach ($Org in $OrganizationInfo) {
Section -ExcludeFromTOC -Style NOTOCHeading5 "$($Org.'Application Id')" {
$TableParams = @{
Expand Down

0 comments on commit 5a7d9ce

Please sign in to comment.