maester-tests/cis/Test-MtCisSafeAntiPhishingPolicy.Tests.ps1
|
Describe "CIS" -Tag "CIS.M365.2.1.7", "L1", "CIS E5 Level 1", "CIS E5", "CIS", "Security", "CIS M365 v5.0.0" { It "CIS.M365.2.1.7: (L1) Ensure that an anti-phishing policy has been created (Only Checks Default Policy)" { $result = Test-MtCisSafeAntiPhishingPolicy if ($null -ne $result) { $result | Should -Be $true -Because "the default anti-phishing policy is enabled." } } } |