Skip to content

Conversation

@malytskyy
Copy link

The license evidence collection may be used to collect license information from shipped files, like LICENSE.txt. This is particularly useful for packages, which have no license id provided, but rather information is provided in a file. Also even when the license id or name is known, it still might be a good idea to have the license information from the time of BOM creation.

The default mode is None which means no license evidence will be collected. The other options are All which collects all license evidence, even when the license id is known. Lastly, Unknown Collect license text only for components which have unknown license. This avoids collecting all license texts for the case when license text can be obtained otherwise (like MIT) and therefore reduces the BOM size. In contrast to the "All" mode, this mode will put license text into license block directly instead of evidence part.

The license evidence collection may be used to collect license information from shipped files, like LICENSE.txt. This is particularly useful for packages, which have no license id provided, but rather information is provided in a file. Also even when the license id or name is known, it still might be a good idea to have the license information from the time of BOM creation.

The default mode is `None` which means no license evidence will be collected. The other options are `All` which collects all license evidence, even when the license id is known. Lastly, `Unknown` Collect license text only for components which have unknown license. This avoids collecting all license texts for the case when license text can be obtained otherwise (like MIT) and therefore reduces the BOM size. In contrast to the "All" mode, this mode will put license text into license block directly instead of evidence part.

Signed-off-by: Roman Malytskyy <[email protected]>
@malytskyy malytskyy requested a review from a team as a code owner May 4, 2025 09:37
@mtsfoni
Copy link
Member

mtsfoni commented Oct 6, 2025

Hi,
sorry for the late review.
Do you happen to have a NuGet example package that has no license id provided, and provide such a file? I'd like to conduct a real world test.

@malytskyy
Copy link
Author

hi, no worries :)

here are some examples (let me know if you need more)

Duende.IdentityServer

Extreme.Numerics

Microsoft.CognitiveServices.Speech

Microsoft.Data.SqlClient.SNI.runtime

Microsoft.Graph

a good example is Microsoft.Graph - actually it's a MIT licensed library, but someone apparently forgot to set the key in the package manifest.

Regards

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants