-
Notifications
You must be signed in to change notification settings - Fork 0
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
Patch details problems #8
Comments
Thanks for your careful and considerate. Here's my opinions:
|
@JustinB1eber but we are not able to match/map the patch to the project now. Affected[] and patch_details[] are on the same level. If there are multiple records in each of these archives, we would not be able to make mapping. How do we can do it? |
Proposal: to add patch_details to events "events": [
{ "introduced": "0" },
{ "fixed": "1.0.2", "patch_details": "PATCH" },
{ "introduced": "3.0.0" },
{ "fixed": "3.1.2" }, For |
@akuleshov7 |
|
It's OPTIONAL. You don't need to put patch details to event. |
As discussed with @nulls events should also be extended by some With this change we will cover cases with several fixes in different versions and packages. |
patches_detail[]
is now added as a separate field on the same level asaffected[]:
. It is incorrect, because we cannot make a mapping from an AFFECTED PROJECT (affected[]) to a patch where it was fixed and cannot properly show it.Imagine, that your library XXX has two major versions 1.0.0 and 3.0.0 (both are supported).
Vulnerability fixes usually go into both version, and in COSV we say:
And patches were different with different commits IDs. In current schema we cannot do anything and create mapping between those project and fix.
Suggestion to move
patches_detail
toaffected[].ranges[]
oraffected[]
. PLease think about that.affected[].package.language
is DUPLICATED withpatches_detail[].main_language
The text was updated successfully, but these errors were encountered: