-
Notifications
You must be signed in to change notification settings - Fork 435
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
[windows] Defender - Fix pipeline for Path and add missing fields. #11529
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
Came across another wrench in the pipeline. Sometimes the Path may contain multiple "Files".
Not sure what the deal with the parsing is, but this is the raw JSON captured in Kibana. Maybe that is the actual file name. More research needed: "Path": "file:_D:\\autorun.inf\\autorun.inf .exe; file:_D:\\autorun.inf\\Protection for Autorun\\Protection for Autorun .exe; file:_D:\\ \\ .exe", |
So this pipeline will still populate the first file.path found but won't include the others found. How should this be handled if related.file.name does not seem to exist and file.name is supposed to be a keyword? My thought is that I could have a custom field called Thoughts? Otherwise, good to review and test. |
It was reported in the community that the File Path will sometimes contain a process pid which is not currently processor correctly (see screenshots). This PR will resolve this issue and also add more fields that were missed in the last update.
I also added 2 more test documents to add the other potential data that would arrive.
Convo started here: https://elasticstack.slack.com/archives/C018PDGK6JU/p1729764392118379?thread_ts=1729593410.515049&cid=C018PDGK6JU
This will improve the integration further.
Checklist
changelog.yml
file.Related issues
Screenshots