This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
add known vulnerabilities from packagist.org to the SBoM result #142
Labels
You can continue the conversation there. Go to discussion →
CDX sbom knows vulnerabilities via
packagist.org - composer's primary source - has an API to list known vulnerabilities per package.
see the docs: https://packagist.org/apidoc#list-security-advisories
implementation detail: the API might have a special handling for leading
v
in versions - or a special format for version-constraints(which might be handle-able by composers internal version-constraint-library)summary of feedback/ ideas:
if fetching data from API fails, simply prompt an error on the increased "verbosity"-log-level and dont add any vulns to the SBom result
The text was updated successfully, but these errors were encountered: