You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When vexctl merges documents that have the same CVE ID, even if the affected products/subcomponents are the same, the new document will contain one statement for each CVE ID merged. For example, suppose that we have 2 documents that have the same CVE ID CVE-1234-5678, but the affected products differ, pkg:apk/wolfi/bash@1.0.0 and pkg:apk/wolfi/bash@1.5.0.
If we keep merging docs that contain the same CVE ID, the number of statement will grow proportionally.
Would it make sense to combine the products inside the structure products[] if certain conditions are meet, for example, (CVE IDs are equal) AND (statuses are equal) AND (justifications, if present, are equal) AND (action statements, if present, are equal) AND (impact statements, if present, are equal) AND (status notes, if present, are equal)? Products, and their affected subcomponents, can vary. Ideally, this can help make the merged docs smaller and concise, specially if automation is used to scan and merge multiple docs together.
Example of a possible concise ("compact") version:
Apologies if this isn't the right place to ask or discuss about this. Please let me know if I should direct this conversation to a different channel. Thanks!
The text was updated successfully, but these errors were encountered:
macedogm
changed the title
Merge of multiple affected products by the same CVE ID together
Merge multiple affected products with the same CVE ID together
Jul 12, 2024
When vexctl merges documents that have the same CVE ID, even if the affected products/subcomponents are the same, the new document will contain one statement for each CVE ID merged. For example, suppose that we have 2 documents that have the same CVE ID
CVE-1234-5678
, but the affected products differ,pkg:apk/wolfi/bash@1.0.0
andpkg:apk/wolfi/bash@1.5.0
.Doc 1 -
doc-1-bash-1.0.0.vex.json
Doc 2 -
doc-2-bash-1.5.0.vex.json
The merged doc will be:
If we keep merging docs that contain the same CVE ID, the number of statement will grow proportionally.
Would it make sense to combine the products inside the structure
products[]
if certain conditions are meet, for example,(CVE IDs are equal) AND (statuses are equal) AND (justifications, if present, are equal) AND (action statements, if present, are equal) AND (impact statements, if present, are equal) AND (status notes, if present, are equal)
? Products, and their affected subcomponents, can vary. Ideally, this can help make the merged docs smaller and concise, specially if automation is used to scan and merge multiple docs together.Example of a possible concise ("compact") version:
Apologies if this isn't the right place to ask or discuss about this. Please let me know if I should direct this conversation to a different channel. Thanks!
The text was updated successfully, but these errors were encountered: