-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[winlogbeat] Default to raw api #42275
Conversation
57b79e5
to
396fc7d
Compare
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
💚 CLA has been signed |
2efc2a3
to
61cb7a0
Compare
0132c2b
to
15fae95
Compare
/test |
/docs |
// Note: This is not the case under 32-bit Windows 7. | ||
// Disabling the assertion for now. | ||
//assert.NotContains(t, msg, `{{eventParam $ 9}}`) | ||
assert.NotContains(t, msg, `{{eventParam $ 9}}`) |
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.
this is fixed now
Co-authored-by: Leszek Kubik <[email protected]>
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'm only looking at the files owned by the data plane
- from: type | ||
to: winlog.api | ||
alias: true | ||
beat: winlogbeat | ||
rename: false | ||
|
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.
[Question]
Why is this not needed any more?
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.
We previously had wineventlog
and wineventlog-experimental
api's. The experimental API has been recently GA'd as wineventlog-raw
in 8.18. For 9.0.0 we want to remove the old wineventlog
api as it is less performant and the old way of rendering the events can be still achieved through config while using the new wineventlog-raw
api.
So we will have a single api moving forward, that is why we can remove the winlog.api field references.
note that this changes are not going to be backported
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.
The files that belong to @elastic/elastic-agent-data-plane LGTM
@@ -65,6 +65,9 @@ steps: | |||
- label: ":windows: x-pack/winlogbeat Win 2019 Unit Tests" | |||
key: "mandatory-win-2019-unit-tests" | |||
command: | | |||
Push-Location -Path .buildkite/scripts | |||
./install_sysmon.ps1 |
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.
Nit: We can pre-install sysmon to the base Windows image(when the PR is merged) We need to raise an issue for that
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.
100%, I was also thinking maybe keeping our own copy since there is no way (that I know of) to download a specific sysmon version.
Proposed commit message
Since the raw api which is now default renders messages that previously were not rendered, this also:
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.