anchore / anchore/vulnerability-data-tools

DISCUSS - Future data goals

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Python
Stars
19
Forks
5
Avg merge
3m
Merged PRs (30d)
16

Description

Today we are duplicating the data format used by NVD in the [nvd-data-overrides](https://github.com/anchore/nvd-data-overrides) repo. This data format is less than ideal

We should discuss some goals and ideas for how to best enrich this data in the future.

Here are some high level goals for enriching data
- Do not create new IDs, only enrich existing IDs (this avoids trying figure out a new ID format)
- Defer to upstream data whenever possible
- The idea here isn't to overrule upstream data, but to add things they cannot. For example: A GitHub ID that affects an ecosystem they do not currently cover.
- If an upstream data source has an error, try to submit fixes there first
- Allow anyone to submit modifications to the data. Those modification should be reviewed by a trusted project member before being accepted just like all open source projects work
- Have the ability to output the enriched data in multiple formats. For example we could publish cve5, OSV, and NVD formats
- Make sure the data is future proof to a degree. By capturing more details than we need for the existing formats capture today, we raise our chances of not needing to overhaul everything in the future

---
Two data format examples that are pretty good

cve5
https://github.com/CVEProject/cvelistV5

OSV
https://ossf.github.io/osv-schema/

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing data format in the nvd-data-overrides repository, then compare the CVE5 and OSV schema examples linked in the issue. Turn the listed goals into a concrete, agreed data-model and output-format proposal; done means the project has a decided direction rather than an implementation patch.

Written by the indexing model from the issue text.

Assessment

Domain
data-engineering, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.