-
Notifications
You must be signed in to change notification settings - Fork 26
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
Validating Build SBOM in SPDX Format #167
Comments
I cloned the above mentioned repo and ran Attached are 3 files - the output of each tool + a CSV with sorted comparisons of the package level information. |
On my local machine, I was able to get all 119 in the SPDX run
I didn't verify this - but it looks like the same results from the
Both tools will generate indirect dependencies
|
Note that PR #152 changes the implementation of the dependency discovery to use the same mechanism as |
Hi @goneall, this is satisfactory. But I still have an unanswered question. The below listed dependencies do not have any direct link from the dependencies present in the POM file. So, my question is, what reference are these dependencies using to show up in the SBOM file as the POM doesn't include the artifact IDs for all of these.
|
I didn't look at all of these, but for the first few, they all appear to be indirect dependencies of dependencies declared in the POM file. For example -
The full dependency graph for this can be found in both the SBOM by tracing back the dependency information, or (more easily) from the dependency tree output. The dependency tree output related to
|
Okay, actually I checked for "attoparser" on the maven central repo and found that this particular one comes from a different org, org.attoparser. But I couldn't find the indirect link in the artifact IDs present in POM. |
@PrachiP29 - Does running If so, I suggest posting your question to the Maven Dependency Tree plugin community. This library make use of the same code. If you're seeing results which are different, then I can look into the SPDX Maven plugin implementation. |
I worked on https://github.com/wmichalska/CreditManager repository to validate the build SBOM and below are my findings.
byte-buddy-agent, objenesis, android-json, spring-jdbc, javassist, dom4j, txw2, istack-commons-runtime, spring-data-commons, spring-orm, spring-tx, attoparser, thymeleaf-extras-java8time, jakarta.el
If you have any inputs to explain the differences, please do advise. Thanks in advance.
The text was updated successfully, but these errors were encountered: