CVEProject / automation-working-group

CVE Automation Working Group
https://www.cve.org/ProgramOrganization/WorkingGroups#AutomationWorkingGroupAWG
160 stars 88 forks source link

collectionURL proposal #94

Closed chandanbn closed 4 years ago

chandanbn commented 4 years ago

Replace package_ecosystem with more flexible future-proof collectionURL with examples of popular software package repos.

A hardcoded enum of short names for popular package ecosystems has few shortcomings:

CVE Quality working group discussed various alternatives, recommends replacing current package_ecosystem definition with collectionURL.

This proposal does not exclude the use of other software identifying information such a PURL/SPDX/SWID.

chandanbn commented 4 years ago

package_name and package_ecosystem also need to be removed from the required array of product. I assume collectionURL should be required too?

Can we also add some notes on why this is replacing package_ecosystem for those not subscribed to the AWG mailing list where it was discussed?

Otherwise, lgtm!

Fixed the required definitions.

collectionURL should be optional as not every product is delivered via a well structured package repository.