Skip to content
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

Support additional external references on main artifact #421

Closed
ppkarwasz opened this issue Nov 4, 2023 · 1 comment
Closed

Support additional external references on main artifact #421

ppkarwasz opened this issue Nov 4, 2023 · 1 comment

Comments

@ppkarwasz
Copy link
Contributor

ppkarwasz commented Nov 4, 2023

Version 1.5 of CycloneDX introduces new interesting external reference types, such as vulnerability-assertion (VEX), exploitability-statement (VDR) or static-analysis-report.

It would be useful to be able to add such references to the main component of the SBOM through a plugin configuration like this:

<configuration>
  <externalReferences>
    <reference type="exploitability-statement">
      <url>https://...</url>
    </reference>
  </externalReferences>
</configuration>

(the proposed schema is identical to the CycloneDX schema).

This configuration would apply add additional <reference> elements:

  • for simple SBOMs only to the /metadata/component/externalReferences element of the SBOM,
  • for aggregate SBOMs also to the /components/component/externalReferences elements representing Maven modules.

Such a feature could easily replace #414.

ppkarwasz added a commit to ppkarwasz/logging-parent that referenced this issue Nov 4, 2023
The `cyclonedx-maven-plugin` has still some limitations that prevent it
from publishing a reproducible `serialNumber`
(CycloneDX/cyclonedx-maven-plugin#420) and adding a reference to a VEX
document (CycloneDX/cyclonedx-maven-plugin#419 and
CycloneDX/cyclonedx-maven-plugin#421).

This PR provides a temporary workaround that will allow us to produce an
CycloneDX (only the XML version), enhanced with these two elements.
vy added a commit to apache/logging-parent that referenced this issue Nov 6, 2023
* Add `serialNumber` and VEX references to generate SBOMs

The `cyclonedx-maven-plugin` has still some limitations that prevent it
from publishing a reproducible `serialNumber`
(CycloneDX/cyclonedx-maven-plugin#420) and adding a reference to a VEX
document (CycloneDX/cyclonedx-maven-plugin#419 and
CycloneDX/cyclonedx-maven-plugin#421).

This PR provides a temporary workaround that will allow us to produce an
CycloneDX (only the XML version), enhanced with these two elements.

---------

Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
vy added a commit to apache/logging-parent that referenced this issue Nov 6, 2023
* Add `serialNumber` and VEX references to generate SBOMs

The `cyclonedx-maven-plugin` has still some limitations that prevent it
from publishing a reproducible `serialNumber`
(CycloneDX/cyclonedx-maven-plugin#420) and adding a reference to a VEX
document (CycloneDX/cyclonedx-maven-plugin#419 and
CycloneDX/cyclonedx-maven-plugin#421).

This PR provides a temporary workaround that will allow us to produce an
CycloneDX (only the XML version), enhanced with these two elements.

---------

Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 10, 2023
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 10, 2023
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 10, 2023
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 10, 2023
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 10, 2023
Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Nov 27, 2023
Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
hboutemy pushed a commit that referenced this issue Dec 9, 2023
Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Jan 5, 2024
Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
vy added a commit to vy/cyclonedx-maven-plugin that referenced this issue Jan 15, 2024
Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
hboutemy pushed a commit that referenced this issue Jan 15, 2024
* Add support for custom external references (#421)

Signed-off-by: Volkan Yazıcı <volkan@yazi.ci>
@hboutemy
Copy link
Contributor

done in #428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants