Skip to content

Commit 25f38c5

Browse files
committed
fix(cisa): correct EXO 1.4.1 failure output
Use the actual policy properties returned by the test when building the failed policy table, and hardcode the expected action as `Quarantine` so the report matches the check logic.
1 parent 8f1dd76 commit 25f38c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPTests/Public/Tests/CISA/Identity/Invoke-CippTestCISAMSEXO141.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Invoke-CippTestCISAMSEXO141 {
3333
$null = $Result.Append("| Policy Name | Current Action | Expected |`n")
3434
$null = $Result.Append("| :---------- | :------------- | :------- |`n")
3535
foreach ($Policy in $FailedPolicies) {
36-
$null = $Result.Append("| $($Policy.'Policy Name') | $($Policy.'Current Action') | $($Policy.Expected) |`n")
36+
$null = $Result.Append("| $($Policy.Name) | $($Policy.HighConfidenceSpamAction) | Quarantine |`n")
3737
}
3838
$Status = 'Failed'
3939
}

0 commit comments

Comments
 (0)