-
Notifications
You must be signed in to change notification settings - Fork 474
windows: reconcile forwarded event pipelines with their non-forwarded equivalents #7374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
32915eb
to
08cc775
Compare
🌐 Coverage report
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
08cc775
to
41528cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions. LGTM 👍🏼
- rename: | ||
field: winlog.event_data._MemberUserName | ||
target_field: user.name | ||
ignore_failure: true | ||
ignore_missing: true | ||
- rename: | ||
field: winlog.event_data._MemberDomain | ||
target_field: user.domain | ||
ignore_failure: true | ||
ignore_missing: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these also have a condition when these fields don't already exist?
such as if: ctx.user?.name == null
or ctx.user?.domain == null
?
Because these are already being set earlier in the pipeline. Maybe that way we can remove ignore_failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to leave those changes for a future PR. This is just to get the datastreams into consensus.
@@ -256,26 +256,29 @@ processors: | |||
target_field: error.code | |||
ignore_failure: true | |||
ignore_missing: true | |||
if: ctx.event.code == "255" | |||
if: ctx.event.code == "255" && ctx.winlog?.event_data?.ID != null && ctx.winlog?.event_data?.ID != "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: ctx.event.code == "255" && ctx.winlog?.event_data?.ID != null && ctx.winlog?.event_data?.ID != "" | |
if: ctx.event.code == "255" && ctx.winlog?.event_data?.ID != null && ctx.winlog.event_data.ID != "" |
Same for the other if
s in this pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same above.
41528cc
to
df5430b
Compare
df5430b
to
a4658db
Compare
Package windows - 1.35.0 containing this change is available at https://epr.elastic.co/search?package=windows |
What does this PR do?
See title.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots