feat: bom.vulnerabilities JSON normalization#548
feat: bom.vulnerabilities JSON normalization#548jkowalleck merged 20 commits intoCycloneDX:normalize-vulnerabilityfrom
bom.vulnerabilities JSON normalization#548Conversation
jkowalleck
left a comment
There was a problem hiding this comment.
quick review.
marked with ❌ are wrong and need to be fixed.
|
Thank you for your work, @xmasoracle . Your implementation appears promising, please continue. Please be informed: I will not merge this into master, unless
I'll set this PR to "draft" until it is finished. |
bom.vulnerabilities JSON normalization/serialization (#164)bom.vulnerabilities JSON normalization
bom.vulnerabilities JSON normalizationbom.vulnerabilities JSON normalization
|
@xmasoracle, |
|
implementation detail: as new rendering for cyclonedx-javascript-library/src/serialize/baseSerializer.ts Lines 25 to 41 in b2abc1b |
04b963d to
3b491b7
Compare
…DX#164) Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
3b491b7 to
ab6809f
Compare
8a7f9cc to
fad9573
Compare
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
Signed-off-by: Xavier Maso <xavier.maso@oracle.com>
fad9573 to
3ca1aed
Compare
|
Hi @jkowalleck, I will not have time to work on the XML serialization part. |
|
nope, will not be merged any soon. It contains breaking changes, and I do not want to release a set of breaking changes that is not complete. PS: this is open source. Others might take it from here and complete the missing part. |
|
FYI: i will be working on #620 soon. |
|
BOM validators are now in place. |
|
JSON validation is now part of this library and all its test suites. @xmasoracle please rebase your feature on latest |
|
re: #issuecomment-1495568466 |
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
bom.vulnerabilities JSON normalizationbom.vulnerabilities JSON normalization
Introduce normalization of vulnerabilities for JSON for CDX>=1.4 .
This is part of #164 .
* It only adds support for a subset of properties ofModels.Vulnerability.* I made someModels.Vulnerability.*comparable, to be able to copy the implementation ofnormalizeIterable, but I am not really confident in what I did, and was unsure how to test it.