Skip to content
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

[ECS] Use related.hosts instead of related.mac #22

Open
quentains opened this issue Jun 19, 2023 · 2 comments
Open

[ECS] Use related.hosts instead of related.mac #22

quentains opened this issue Jun 19, 2023 · 2 comments

Comments

@quentains
Copy link

According to the mapping file corelight-ds-component_template-main_logs-mappings, MAC addresses are "copied to" related.mac.

This is the case for :

  • source.mac
  • destination.mac
  • radius.mac
  • host.mac
  • radius.mac

However related.mac seems to not be ECS compliant. See Elastic documentation.

What do you think about using related.hosts instead ? The same mapping file is already using related.hosts for 11 other fields.

related.hosts : All hostnames or other host identifiers seen on your event. [...]

@hunter32me
Copy link
Collaborator

I will look into this and see what impact this has. First thought is in how we define Host, and how will it impact search, by keeping it related.mac it would be easer to search on mac address

@neu5ron
Copy link
Collaborator

neu5ron commented Jan 4, 2024

Hi @quentains thanks for bringing this up. Great question.

I want to preface that although related.mac is not "ECS" complaint, there is still an analytical and pivoting use case and in fact to not mix and break the ECS compliance related mac addresses were placed in related.mac. ECS in it's goal is great, but with anything iot has some short comings and specifically missing fields (for example the related 4 tuple and other hashes that some of the various pipelines create).
Although the primary goal of this repository is to map fields to ECS, as maintainers we are also users of the data, and with that comes an obligation to also make it useful above and beyond what ECS provides.

Let me know if this is satisfactory or not. I am open to discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants