maester-tests/cis/Test-MtCisEnsureUserConsentToAppsDisallowed.Tests.ps1
|
Describe "CIS" -Tag "CIS.M365.5.1.5.1", "L2", "CIS E3 Level 2", "CIS E3", "CIS E5 Level 2", "CIS E5", "CIS", "Security", "CIS M365 v5.0.0" { It "CIS.M365.5.1.5.1: Ensure user consent to apps accessing company data on their behalf is not allowed" { $result = Test-MtCisEnsureUserConsentToAppsDisallowed if ($null -ne $result) { $result | Should -Be $true -Because "user consent to apps accessing company data on their behalf is not allowed." } } } |