Microsoft Entra ID must be configured to transfer logs to another server for storage, analysis, and reporting
DISA.V-270227 is in Maester 3.0.0-preview and not in the stable 2.3.0 release yet. It will be in the next stable release. To use it now, install the preview:
Install-Module Maester -AllowPrerelease -ForceHow to get the preview, and go backUse the preview in GitHub Actions
Part of DISA · Entra ID · Logs and monitoring · All checks
Invoke-Maester -TestId DISA.V-270227Overview
Section titled “Overview”A Microsoft Entra diagnostic setting sends the sign-in, audit and risk logs to a Log Analytics workspace or another log store. (DISA Microsoft Entra ID STIG, V-270227, CAT II).
Sign-in and audit logs kept only in Microsoft Entra ID are retained for 30 days at most and are not correlated with other sources. Sending them to a SIEM keeps them and lets the security team alert on them.
This test runs the same check as CISA.MS.AAD.4.1 with DISA’s list of categories (RequiredLogCategory): SignInLogs, AuditLogs, ServicePrincipalSignInLogs, ManagedIdentitySignInLogs, UserRiskEvents, RiskyUsers, RiskyServicePrincipals and ServicePrincipalRiskEvents. CISA asks for four more. The STIG also asks you to confirm in Microsoft Sentinel, or your SIEM, that logs arrived within the last hour; check that by hand.
Remediation action
Section titled “Remediation action”- In the Microsoft Entra admin center, go to Entra ID > Monitoring & health > Diagnostic settings.
- Select Add diagnostic setting, or Edit setting on an existing one.
- Select the eight log categories listed above and send them to a Log Analytics workspace (or another destination your SIEM reads).
- Select Save.
Related links
Section titled “Related links”- DISA Microsoft Entra ID STIG: V-270227
- Configure Microsoft Entra diagnostic settings for activity logs
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | DISA.V-270227 |
| Severity | High |
| Suite | DISA |
| Product | Entra ID |
| Feature | Logs and monitoring |
| Area | Logging and detection |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1685.002 Disable or Modify Cloud Log |
| Supports benchmark | DISA Microsoft Entra ID STIG (version V1R2), requirement V-270227 |
| Supports controls | disa-stig-entra-id:V-270227, nist-800-53-r5:AU-4(1), nist-800-53-r5:AU-9(2) |
| PowerShell test | Test-MtDisaEntraLogExport |
| Services | Graph, Azure |
| Compatible licenses | AAD_PREMIUM |
Source
Section titled “Source”- Test:
tests/disa/Test.DISA.V-270227.ps1 - Documentation:
tests/disa/Test.DISA.V-270227.md
About this check
- Severity
- High
- Effort to fix
- Medium
- Impact on users
- Low
- Product
- Entra ID
- Feature
- Logs and monitoring
- Area
- Logging and detection
- Suite
- DISA STIGs