x-pack/filebeat/input/entityanalytics/activedirectory: fix nested group membership#48815
Merged
efd6 merged 1 commit intoelastic:mainfrom Feb 17, 2026
Merged
Conversation
Contributor
🤖 GitHub commentsJust comment with:
|
…up membership Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses.
1c419fe to
5db91fd
Compare
Contributor
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
chemamartinez
approved these changes
Feb 17, 2026
mergify bot
pushed a commit
that referenced
this pull request
Feb 17, 2026
…up membership (#48815) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446)
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Feb 17, 2026
…up membership (#48815) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446)
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Feb 17, 2026
…up membership (#48815) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446)
6 tasks
belimawr
added a commit
to belimawr/beats
that referenced
this pull request
Feb 18, 2026
…sted group membership (elastic#48815)" This reverts commit b0a0446.
rdner
added a commit
that referenced
this pull request
Feb 19, 2026
…up membership (#48815) (#48898) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446) Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co> Co-authored-by: Denis <denis.rechkunov@elastic.co>
pierrehilbert
pushed a commit
that referenced
this pull request
Feb 19, 2026
…up membership (#48815) (#48897) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446) Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co> Co-authored-by: Denis <denis.rechkunov@elastic.co>
pierrehilbert
pushed a commit
that referenced
this pull request
Feb 19, 2026
…up membership (#48815) (#48896) Use the LDAP_MATCHING_RULE_IN_CHAIN matching rule (OID 1.2.840.113556.1.4.1941) in memberOf filters so that nested group membership is resolved server-side at query time. The previous plain memberOf filters only matched direct members. Also escape DN values with ldap.EscapeFilter in the changed-groups filter path, which was missing this safeguard and could produce malformed queries when group names contain LDAP filter metacharacters such as parentheses. (cherry picked from commit b0a0446) Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co> Co-authored-by: Denis <denis.rechkunov@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Note
Identified by inspection during other work.
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs