AD-GPOREP-15 - No GPOs should have version mismatches
Overviewโ
Test-MtAdGpoVersionMismatchCountโ
Counts the number of GPOs with a version mismatch.
Why This Test Mattersโ
- Detective control: flags GPOs that have a version mismatch which could affect policy consistency across machines.
Control Typeโ
Detective
Security Recommendationโ
- Review mismatched GPOs and align versions with baseline configurations.
How the Test Worksโ
- Pulls GPO state, filters HasVersionMismatch, counts total/mismatched and computes a mismatch ratio.
Related Testsโ
Test-MtAdGpoVersionMismatchDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-15 |
| Severity | Medium |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | GroupPolicy |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoVersionMismatchCount |
| Services | ActiveDirectory |
Sourceโ
- Test:
tests/ad/gpo-state/Test.AD-GPOREP-15.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-15.md
