GPO enforcement count should be investigated
AD-GPOREP-14InfoActive DirectoryGroup Policy
Part of Active Directory · Active Directory · Group Policy · All checks
Invoke-Maester -TestId AD-GPOREP-14Overview
Section titled “Overview”Test-MtAdGpoEnforcementCount
Section titled “Test-MtAdGpoEnforcementCount”Counts the number of GPOs that have enforced GPO links.
Why This Test Matters
Section titled “Why This Test Matters”- Detective control: counts GPOs with enforced links which indicates explicit policy delivery is configured.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Ensure enforcement aligns with security policy; adjust as needed for least privilege and correct policy propagation.
How the Test Works
Section titled “How the Test Works”- Fetches GPO state, filters for HasEnforcement, and reports total GPOs, number with enforcement, and the ratio.
Related Tests
Section titled “Related Tests”Test-MtAdGpoEnforcementCount.
Related links
Section titled “Related links”- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-14 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | GroupPolicy |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoEnforcementCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read |
Source
Section titled “Source”- Test:
tests/ad/gpo-state/Test.AD-GPOREP-14.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-14.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Group Policy
- Area
- Infrastructure hardening
- Suite
- Active Directory