AD-GPOREP-06 - GPOs without domain computers count should be retrievable
Overviewโ
Control Typeโ
Detective
Test-MtAdGpoNoDomainComputersCountโ
Counts GPO reports that do not include Domain Computers.
Why This Test Mattersโ
- Detective control: identifies GPO reports missing Domain Computers which could impact scope or applicability.
Security Recommendationโ
- Verify whether Domain Computers should be included and adjust GpoReports as needed to reflect accurate targeting.
How the Test Worksโ
- Reads GPO state, locates GpoReports, filters for reports with HasDomainComputers false or missing, and reports counts and samples.
Related Testsโ
Test-MtAdGpoNoDomainComputersCount.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-06 |
| Severity | Unknown |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoNoDomainComputersCount |
| Tags | AD, AD-GPOREP-06, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoNoDomainComputersCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoNoDomainComputersCount.ps1
