Fix: Test-ModernAuthExchangeOnline and add notes.

This commit is contained in:
DrIOS
2024-04-02 10:32:19 -05:00
parent 690b1c4667
commit a2020ff5ce
7 changed files with 120 additions and 3 deletions

View File

@@ -55,8 +55,9 @@
- Commercial use is not permitted. This module cannot be sold or used for commercial purposes.
- Modifications and sharing are allowed under the same license.
- For full license details, visit: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en
- Register for CIS Benchmarks at: https://www.cisecurity.org/cis-benchmarks
.LINK
Online Version: [GitHub Repository URL]
Online Version: https://github.com/CriticalSolutionsNetwork/M365FoundationsCISReport
#>
function Invoke-M365SecurityAudit {

View File

@@ -27,7 +27,7 @@ function Test-ModernAuthExchangeOnline {
$auditResults.IG2 = $true # As per CIS Control v8 mapping for IG2
$auditResults.IG3 = $true # As per CIS Control v8 mapping for IG3
$auditResults.ELevel = "E3" # Based on your environment (E3, E5, etc.)
$auditResults.Profile = "L1"
$auditResults.ProfileLevel = "L1"
$auditResults.Rec = "6.5.1"
$auditResults.RecDescription = "Ensure modern authentication for Exchange Online is enabled (Automated)"
$auditResults.Result = $orgConfig.OAuth2ClientProfileEnabled