You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/powershell/tests/Test-Assessment.25378.ps1
+53-14Lines changed: 53 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,9 @@ function Test-Assessment-25378 {
26
26
UserImpact ='High'
27
27
)]
28
28
[CmdletBinding()]
29
-
param()
29
+
param(
30
+
$Database
31
+
)
30
32
31
33
#region Data Collection
32
34
Write-PSFMessage'🟦 Start'-Tag Test -Level VeryVerbose
@@ -80,7 +82,7 @@ function Test-Assessment-25378 {
80
82
81
83
#region Assessment Logic
82
84
$passed=$false
83
-
$investigateFlag=$false
85
+
$customStatus=$null
84
86
85
87
if ($null-eq$crossTenantAccessPolicy) {
86
88
$testResultMarkdown="❌ Unable to retrieve cross-tenant access policy configuration.`n`n%TestResult%"
@@ -112,7 +114,7 @@ function Test-Assessment-25378 {
112
114
}
113
115
else {
114
116
$passed=$false
115
-
$investigateFlag=$true
117
+
$customStatus='Investigate'
116
118
$testResultMarkdown="⚠️ Default outbound B2B collaboration has partial restrictions configured; review settings to ensure they align with organizational security policies.`n`n%TestResult%"
117
119
}
118
120
}
@@ -122,15 +124,52 @@ function Test-Assessment-25378 {
0 commit comments