AD-GPOREP-07 - GPOs with deny ACE count should be retrievable
Overviewโ
Control Typeโ
Detective
Test-MtAdGpoDenyAceCountโ
Counts GPO reports that include a Deny ACE.
Why This Test Mattersโ
- Detective control: checks for Deny ACEs in GPO reports which can override permissions.
Security Recommendationโ
- Review or remove Deny ACEs to ensure proper permission handling.
How the Test Worksโ
- Aggregates GPO reports, counts those with HasDenyAce true, and reports totals and a sample of affected GPOs.
Related Testsโ
Test-MtAdGpoDenyAceDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-07 |
| Severity | Unknown |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoDenyAceCount |
| Tags | AD, AD-GPOREP-07, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoDenyAceCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoDenyAceCount.ps1
