CriticalSolutionsNetwork / M365FoundationsCISReport

Automated assessment of 51 CIS 365 Foundations v3.0.0 benchmark safeguards.
https://criticalsolutionsnetwork.github.io/M365FoundationsCISReport/
Other
4 stars 0 forks source link

Rec: 6.1.3 - Validate Test-MailboxAuditingE5.ps1, ELevel: E5, ProfileLevel: L1, IG1: TRUE, IG2: TRUE, IG3: TRUE, Connection: AzureAD | EXO | Microsoft Graph #68

Open DrIOSX opened 1 month ago

DrIOSX commented 1 month ago

Validation for Test-MailboxAuditingE5.ps1

Recommendation Details

Test-MailboxAuditingE5.ps1

Tasks

Validate recommendation details

Validate test for a pass

Validate test for a fail

Add notes and observations

If needed, the helpers folder in .\source\helpers contains a CSV to assist with locating the test definition.

DrIOSX commented 1 month ago

Base PowerShell Audit:

$MailAudit = Get-EXOMailbox -PropertySets Audit -ResultSize Unlimited | Select-Object UserPrincipalName, AuditEnabled, AuditAdmin, AuditDelegate, AuditOwner $MailAudit | Export-Csv -Path C:\CIS\AuditSettings.csv -NoTypeInformation
DrIOSX commented 1 month ago

Due to some differences in defaults for audit actions this recommendation is specific to users assigned an E5 license, or auditing addon license, only.