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

Add license attestation report #651

Open
roycyt opened this issue Apr 7, 2020 · 9 comments · May be fixed by #2963 or DependencyTrack/frontend#578
Open

Add license attestation report #651

roycyt opened this issue Apr 7, 2020 · 9 comments · May be fixed by #2963 or DependencyTrack/frontend#578
Labels
enhancement New feature or request needs milestone Issues or PRs that are pending a milestone assignment p2 Non-critical bugs, and features that help organizations to identify and reduce risk

Comments

@roycyt
Copy link
Contributor

roycyt commented Apr 7, 2020

A license attestation report is a document which contains the information of OSS components used in a specific product. Usually, it identifies following information of each OSS: name, version, copyright notice, licensed under which license and the full license text.

From DT's view, I think that a specific product is represented by the project and its version combination.

This document will then be distributed with the product to fulfill the requirement of software license compliance.

It will be great to be able to download this document from DT directly.

@roycyt roycyt added the enhancement New feature or request label Apr 7, 2020
@stevespringett stevespringett added the p2 Non-critical bugs, and features that help organizations to identify and reduce risk label Apr 7, 2020
@stevespringett stevespringett added this to the 3.10 milestone Apr 7, 2020
@stevespringett stevespringett removed this from the 4.1 milestone Jan 19, 2021
@stevespringett
Copy link
Member

There's some work with the model that needs to be done first. The DT component model closely resembles CycloneDX itself. Some of that work is related to a CycloneDX enhancement CycloneDX/specification#43

Once this enhancement is added to the spec, DT can be updated to include an attestation API and report.

@theobisproject
Copy link

AFAICT the CycloneDX specification is enhanced so this would now be possible to be implemented.

Are there currently any plans to target this to an upcoming version?

If not I might be able to do a contribution with the feature. Therefore some guidance would be needed how this should be implemented.

@stevespringett
Copy link
Member

@theobisproject yes, this feature is now possible. However, its not currently being worked on or targeted to any milestone. PRs would be greatly appreciated and likely the quickest way to ensure the feature gets incorporated.

@theobisproject
Copy link

Thanks for the update @stevespringett. I then figure out if there can be made a PR for this.

@andife
Copy link

andife commented Sep 6, 2023

Does this pull request also handle the topic in #2018 ?

I would be very interested to see that the licenses supplied by the package are also included in the CycloneDX export (https://cyclonedx.org/docs/1.4/json/#components_items_licenses_items_license_text_content)

@theobisproject
Copy link

@andife The pull request does not handle your linked issue. This adds a separate license only export.

@stevespringett Is there any plan to review the change?

@stevespringett
Copy link
Member

We might be able to get this into 4.10. Thoughts @nscuro ?

@nscuro nscuro added this to the 4.10 milestone Oct 26, 2023
@troy256
Copy link

troy256 commented Nov 6, 2023

Since the CycloneDX spec allows for a "licenses" attribute for each component, is there a way to include the component licenses in the BOM export? This would be really helpful instead of having to export a completely different license document.

E.g. -

{
  "version": "1.5",
  "components": [
    {
      "name": "some-software-library",
      "version": "1.0.0",
      "license": [
        "Apache-2.0"
      ]
    }
  ]
}

https://cyclonedx.org/docs/1.5/json/#components_items_licenses

@nscuro
Copy link
Member

nscuro commented Nov 19, 2023

Removing from 4.10 milestone as per #2963 (comment)

@nscuro nscuro removed this from the 4.10 milestone Nov 19, 2023
@nscuro nscuro added the needs milestone Issues or PRs that are pending a milestone assignment label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs milestone Issues or PRs that are pending a milestone assignment p2 Non-critical bugs, and features that help organizations to identify and reduce risk
Projects
None yet
6 participants