maester-tests/cisa/exchange/Test-MtCisaDmarcRecordExist.Tests.ps1
|
Describe "CISA" -Tag "MS.EXO", "MS.EXO.4.1", "CISA.MS.EXO.4.1", "CISA", "Security" { It "CISA.MS.EXO.4.1: A DMARC policy SHALL be published for every second-level domain." { $cisaDmarcRecordExist = Test-MtCisaDmarcRecordExist if ($null -ne $cisaDmarcRecordExist) { $cisaDmarcRecordExist | Should -Be $true -Because "DMARC record should exist." } } } |