maester-tests/cisa/exchange/Test-MtCisaMalwareAction.Tests.ps1

Describe "CISA" -Tag "MS.EXO", "MS.EXO.10.2", "CISA.MS.EXO.10.2", "CISA", "Security" {
    It "CISA.MS.EXO.10.2: Emails identified as containing malware SHALL be quarantined or dropped." {

        $result = Test-MtCisaMalwareAction

        if ($null -ne $result) {
            $result | Should -Be $true -Because "policies exist."
        }
    }
}