-
Notifications
You must be signed in to change notification settings - Fork 431
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
Added url.extension field #551
Conversation
Added a url extension field as using the file.extension field to store this could confuse security analysts. It should be easier for security analysts to associate extension and url if it's in the url object. We want to avoid them thinking the file exists on the computer.
@elasticmachine, run elasticsearch-ci/docs |
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.
Yes, this makes a lot of sense. I'm surprised we missed this one 😄Two small things before we merge, please:
- Add a changelog entry to CHANGELOG.next.md
- Address minor nit-pick below
short: File extension from the original request url. | ||
description: > | ||
The field contains the file extension from the original request url. | ||
The file extension is only set if it exists, as not every url has a file extension. |
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.
Please insert an additional blank line here, to have this as two paragraphs in the docs
Also add en example
@mbudge I just realized that how I've finished up the work on your contributions #542 and #557 didn't have you appear in the commits, as we squash the commits when merging PRs. Sorry about that. I'll change my approach and merge your PRs, then rebase mine on top, in order for you to show up in the credits. Your input was really appreciated, and I think it's important to preserve that in the history, and repo stats 🙂 |
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.
LGTM, merging as is, and follow-ups are addressed in #573
Added a url extension field as using the file.extension field to store this could confuse security analysts. It should be easier for security analysts to associate extension and url if it's in the url object. We want to avoid them thinking the file exists on the computer straight away.
Proxy logs provide the file extension in a uri extension field, along with
uri schema
uri domain
uri query
uri path etc..
Security analysts will want to look for file types like exe, js, swf, hda, vb, vbs, jar, bat coming from suspicious sites/locations.