AD-GPOREP-01 - No GPOs should be missing permissions
Overviewโ
Test-MtAdGpoNoPermissionsCountโ
Counts Group Policy Objects (GPOs) with missing permissions.
Why This Test Mattersโ
- Detective control: counts GPO reports with missing permissions which could expose resources to unintended access.
Control Typeโ
Preventive
Security Recommendationโ
- Review and remediate missing permissions in GPO ACLs.
How the Test Worksโ
- Fetches GPO state, filters for reports with PermissionsPresent false or null, and reports totals.
Related Testsโ
Test-MtAdGpoNoPermissionsDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-01 |
| Severity | Medium |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoNoPermissionsCount |
| Tags | AD, AD-GPOREP-01, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoNoPermissionsCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoNoPermissionsCount.ps1
