elastic / ecs

Elastic Common Schema
https://www.elastic.co/what-is/ecs
Apache License 2.0
994 stars 413 forks source link

Extend Vulnerability Fieldset #1685

Open jamiehynds opened 2 years ago

jamiehynds commented 2 years ago

Based on user feedback, we're missing some fields in our ECS vulnerability fields and suggest the following additions.

jamiehynds commented 2 years ago

FYI @clement-fouque

clement-fouque commented 2 years ago

Thanks @jamiehynds. Here are some comments on the properties you were mentioning:

I would also add

The following are ideas that might not be interesting to add in ECS:

clement-fouque commented 2 years ago

It might be interesting to align with the Open Source Vulnerability format.

dainperkins commented 2 years ago

The addition of event.category vulnerability is definitely a critical add for easily creating dashboards from multiple vulnerability scanners.

a vulnerability.(hash || fingerprint || uid) would be really useful as well (tenable includes one) to identify the same vulnerability over multiple scans

status (open, patched, mitigated, accepted, etc.) is another one that would be extremely useful

for the vulnerability.id, maybe vulnerability.vendor

on the asset front - is there consideration of moving asset type records into an "asset" field set &&|| using existing fieldsets to populate that data? (e.g. host, container, etc.). would also be relevant in terms of e.g. network info for remote assessments (e.g. populating destination.port for a vulnerability, or potentially adding e.g. network.port as a more general descriptor or keeping it under vulnerability w/ vulnerability.port / vulnerability.network port...)

nicpenning commented 1 month ago

Including CVSS 4.0 would also be a good add if Elastic ever wants to get into the vulnerability management game.

norrietaylor commented 1 month ago

Linking this RFC here: https://github.com/elastic/ecs/pull/2331

It looks like it will complete a fair number of the requests on this issue.

nicpenning commented 1 month ago

Tenable Nessus (10.8.0) is now (as of this month) including CVSS 4.0 and EPSS scoring into their datasets. This increases the need for these additional ECS fields for sure!