question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matching of Licenses During Analysis

See original GitHub issue

Dependency-Track v3.3.1 is parsing License information from both CycloneDX BOM and from Dependency-Check XML and, when licensing info is present, it is mostly not then linking the license to a known License.

ie, instead of “Apache-2.0” (linking to ../license/?licenseId=Apache-2.0), there is simple text displayed:

  • The Apache Software License, Version 2.0
  • Apache License 2.0
  • Apache Software Licenses

I am not sure if this would be an enhancement or a defect, but my expectation is that all 3 of the above examples would have been identified as “Apache-2.0” (complete with link).

Using the last example (Purl = pkg:maven/org.slf4j/log4j-over-slf4j@1.7.25?type=jar):

<licenses>
  <license>
    <name>Apache Software Licenses</name>
    <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  </license>
</licenses>

…there seems to be enough info (including the url) to match the license correctly.

The components that have licenses that are linked all seem to have a filename. Example:

glassfish-embedded-all-3.1.2.2.jar (shaded: org.jvnet.libpam4j:libpam4j:1.3) Purl: pkg:maven/org.jvnet.libpam4j/libpam4j@1.3

Dependency-Track lists this as CDDL 1.0 - although libpam4j itself has an MIT license.

  • Tested with BOM using cyclonedx-maven-plugin-1.2.0
  • Tested with XML using dependency-check-jenkins-plugin-4.0.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
msymonscommented, Dec 5, 2018

I have used CycloneDX Maven Plugin v1.3.0 in multiple projects and compared the BOM output with that created by v1.2.0. I have not yet seen one project where the “hit-rate” has not significantly improved.

One project improved the license count from 18 to 107!

So, thanks muchly for the speedy response.

0reactions
lock[bot]commented, Mar 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Match production and sandbox licenses without a sandbox ...
The tool matches all provisioned licenses, limits, and features in the production organization, including storage limits and org edition.
Read more >
Statistical Standards Program - Chapter 2: Licensing Procedures
Matching Organizations to License Documents; Restricted-use Data and IES Staff; Pre-test Monitoring; Contractors. 2.4 Applying for a License. Summary of ...
Read more >
How to Match Production and Sandbox Licenses ... - YouTube
The easiest way to match production and sandbox license counts is to refresh the sandbox. If refreshing your sandbox is not an option, ......
Read more >
4 license plate matching techniques
In general, license plate matching techniques consist of collecting vehicle license plate numbers and arrival times at various checkpoints, matching the ...
Read more >
(PDF) A Sentence-Matching Method for Automatic License ...
The li- cense of a FOSS component is determined by the licenses of its source code files. In this paper, we describe the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found