Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Default query policy should be retrievable

AD-CFG-07InfoActive DirectoryDirectory configuration

Part of Active Directory · Active Directory · Directory configuration · All checks

Run this check
Invoke-Maester -TestId AD-CFG-07

The default query policy sets baseline resource constraints for LDAP operations. If defaults are overly permissive, AD can be more vulnerable to availability attacks and performance degradation from:

  • Large/inefficient LDAP searches
  • High-frequency query patterns
  • Legitimate admin/service queries running with insufficient guardrails

Proper limits reduce the impact of both misuse and mistakes, improving DC resilience during incidents.

Operational

  • Review the default query policy and ensure it matches your organization’s acceptable performance envelope.
  • Keep defaults conservative, then selectively allow exceptions only where required.
  • Re-validate defaults after upgrades, migrations, or schema/config changes.

This test retrieves the default LDAP query policy values and reports them as an analyzable metric so administrators can confirm baseline limits are configured as intended.

  • Test-MtAdLdapQueryPolicyCount - Ensures query policy coverage/consistency across partitions.
Every attribute of this check
FieldValue
Test IDAD-CFG-07
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDirectory configuration
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdDefaultQueryPolicy
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:Configuration/*:ReadProperty