Commit 76572fc
authored
auto discovering domain controllers & Mutliplexing windowlogreceiver (#47463)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
#### Link to tracking issue
#44156
#44423
Introduces api to auto discover root DC based on currently joined DC and
fallback to current Joined DC if root DN cannot be determined
Consumes **Security Events** from discovered domain controllers.
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Test on local having an AD System.
<img width="1220" height="915" alt="Screenshot 2026-02-22 at 11 59
14 AM"
src="https://github.com/user-attachments/assets/4e4fdb82-35df-4f9c-b022-14c54fff2dc3"
/>
**Security Event Consumption when remote is true but feature gate is
false**
<img width="1276" height="670" alt="Screenshot 2026-04-08 at 4 42 09 PM"
src="https://github.com/user-attachments/assets/6feb6857-7db5-48ee-902c-11b062409bba"
/>
**Security Event Consumption when remote is true and feature gate is
true**
<img width="1276" height="670" alt="Screenshot 2026-04-08 at 4 45 03 PM"
src="https://github.com/user-attachments/assets/f635604a-d55c-4a96-9ecd-2ee99d0f433d"
/>
<!--Describe the documentation added.-->
#### Documentation
Added details in changelog. Feature gate documentation is available via
metadata doc generated
## New Test Cases for Domain Controller Discovery Feature
Added Tcs In receiver_windows_discovery_test.go1 parent 9df1ac3 commit 76572fc
12 files changed
Lines changed: 588 additions & 2 deletions
File tree
- .chloggen
- receiver/windowseventlogreceiver
- internal
- discovery
- metadata
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
59 | | - | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments