[cloud_security_posture] Adding vulnerability fields#6823
[cloud_security_posture] Adding vulnerability fields#6823jeniawhite merged 9 commits intoelastic:mainfrom
Conversation
amirbenun
left a comment
There was a problem hiding this comment.
ECS compliant fields should go to ecs.yml
|
@amirbenun |
|
I think that non-ECS fields should also declare type in their mapping, so I thought it will be easier to use |
There was a problem hiding this comment.
You should just bump the version, no need to add another section
There was a problem hiding this comment.
we might want to have network and security here as well
kfirpeled
left a comment
There was a problem hiding this comment.
requested changes to move security to be under cloud_security_posture
There was a problem hiding this comment.
consider capitalization for custom fields to avoid future conflicts
see guideline suggestion: https://www.elastic.co/guide/en/ecs/current/ecs-custom-fields-in-ecs.html
There was a problem hiding this comment.
lets avoid top-level custom fields (security is not part of ECS)
the current guideline is to move security to be under a field that is named with the plugin name. In our case that is cloud_security_posture.
So the final field here would be cloud_security_posture.security.security_groups
cc: @eyalkraft , @oren-zohar
There was a problem hiding this comment.
consider capitalization for custom fields to avoid future conflicts
see guideline suggestion: https://www.elastic.co/guide/en/ecs/current/ecs-custom-fields-in-ecs.html
Currently, using the auto-import is blocked and it is not clear if it will be available for 8.10 release.
I would keep the convention of using ecs.yml to declare only ecs fields. And anything else is for custom fields (aka non-ECS). |
ed00255 to
6dab61f
Compare
🌐 Coverage report
|
475d0bd to
47b42a6
Compare
packages/cloud_security_posture/data_stream/vulnerabilities/fields/resource.yml
Outdated
Show resolved
Hide resolved
…elds/resource.yml Co-authored-by: Amir Ben Nun <34831306+amirbenun@users.noreply.github.com>
What does this PR do?
Added additional fields to the vulnerability mappings.
Added an ingest upgrade for older vulnerability findings to include type.
This PR is based on changes:
Related Issues
Checklist
changelog.ymlfile.Related issues