AD-GPOREP-16 - No GPOs should have version mismatches
Overviewโ
Test-MtAdGpoVersionMismatchDetailsโ
Returns details of GPOs with a version mismatch.
Why This Test Mattersโ
- Detective control: identifies GPOs where the version reported has a mismatch, potentially indicating stale or misapplied policy definitions.
Control Typeโ
Detective
Security Recommendationโ
- Validate GPO versions against a known baseline and correct mismatches to ensure consistent policy behavior.
How the Test Worksโ
- Fetches GPO state, filters GPOReports for HasVersionMismatch being true, and presents a table of mismatched GPOs.
Related Testsโ
Test-MtAdGpoVersionMismatchCount- counts GPOs with version mismatches.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-16 |
| Severity | High |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoVersionMismatchDetails |
| Tags | AD, AD-GPOREP-16, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoVersionMismatchDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoVersionMismatchDetails.ps1
