maester-tests/cis/Test-MtCisOutboundSpamFilterPolicy.Tests.ps1
|
Describe "CIS" -Tag "CIS.M365.2.1.6", "L1", "CIS E3 Level 1", "CIS E3", "CIS", "Security", "CIS M365 v5.0.0" { It "CIS.M365.2.1.6: (L1) Ensure Exchange Online Spam Policies are set to notify administrators (Only Checks Default Policy)" { $result = Test-MtCisOutboundSpamFilterPolicy if ($null -ne $result) { $result | Should -Be $true -Because "the default Exchange Online Spam policy is set to notify administrators." } } } |