[System] extend system integraation to ingest auth and security events#335
Merged
alexreal1314 merged 3 commits intomainfrom Mar 16, 2026
Merged
[System] extend system integraation to ingest auth and security events#335alexreal1314 merged 3 commits intomainfrom
alexreal1314 merged 3 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Extends the existing System org-data integration to also generate Windows Security Event Log–style documents and ingest them into the system.security data stream, in addition to the existing Linux system.auth and system.syslog streams.
Changes:
- Adds a new
securitydata stream (logs-system.security-default) to the System integration. - Generates Windows security/authentication-related events (e.g., 4624/4625/4634/4648/4776) from employees’ Windows laptop devices.
- Refactors timestamp sorting into a shared comparator applied to all three document arrays.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
+286
to
+292
| // Generate Windows security events from employee Windows devices | ||
| const windowsDevices: Array<{ employee: Employee; device: Device }> = []; | ||
| for (const employee of org.employees) { | ||
| for (const device of employee.devices) { | ||
| if (device.type === 'laptop' && device.platform === 'windows') { | ||
| windowsDevices.push({ employee, device }); | ||
| } |
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.
closes https://github.com/elastic/security-team/issues/16356
What Changed
New data stream:
logs-system.security-default— Windows Security event log events generated for every employee with a Windows laptop device.Existing data streams (
logs-system.auth-default,logs-system.syslog-default) are unchanged and continue to generate Linux SSH authentication and syslog events for org hosts.Windows Security events (
logs-system.security-default)All successful login attempts (excluding service accounts):
Failed brute-force attempts with source IP breakdown:
Distribution of all Windows authentication event types:
NTLM credential validation failures:
Linux SSH events (
logs-system.auth-default)Successful SSH logins by employee:
Failed SSH brute-force attempts:
Querying both indexes together: