maester-tests/cisa/exchange/Test-MtCisaSpamBypass.Tests.ps1
|
Describe "CISA" -Tag "MS.EXO", "MS.EXO.14.3", "CISA.MS.EXO.14.3", "CISA", "Security" { It "CISA.MS.EXO.14.3: Allowed domains SHALL NOT be added to inbound anti-spam protection policies." { $result = Test-MtCisaSpamBypass if ($null -ne $result) { $result | Should -Be $true -Because "spam filter enabled." } } } |