Comments (6)
I haven't really looked into this particular case. But, from memory, there's a bunch of older packages on nuget that don't supply license information. Or maybe it isn't well structured. Looks like that might be the problem with parsing here. So the CycloneDX .NET tool sometimes generates what is technically not a valid BOM.
@HaRo87 I see that you are using the pypi
and npm
options to generate a URL to the relevant package repository page.
All the CycloneDX implementations should be populating package URLs for components. Maybe that could be used to determine the type at the component level instead of the BOM level? That would be especially useful for polyglot applications that might have, for example, npm
packages for the front end and something else for the back end.
Another option, is that the relevant URLs could be populated by the CycloneDX tooling as an external reference for each component. Then you could just include that and shouldn't need any special ecosystem specific handling.
from mdbom.
@HaRo87, yes this is the very first time. New to this kind of tool, and didn't clearly understand that information on the site. The company I work for mainly develops in .Net (and C/C++), so I don't have anything in python or npm to scan with one of the CycloneDX tools.
Was more looking into your tool to see if I could utilize it somewhere in the SBOM process we are developing
from mdbom.
Thanks @huntantr for your bug report. I just stumbled on the same issue. There were some recent changes in cyclonedx-py
which broke the format. I will have a closer look. For the time being you can pin cyclonedx-py
to 0.4.3
which is supported by mdbom.
And sorry for the late reply!
from mdbom.
I am actually using cyclonedx-dotnet to generate my sbom. Is there a different version of it that I should use?
from mdbom.
Ah, interesting. Did that ever work for you, or did you try MdBOM for the first time? Because I state here that it currently supports pypi
anf npm
. No .NET support at this time. That would be a new feature request. 😉
from mdbom.
Hi @huntantr,
sorry that it was silent for so long but I did not manage to find any time working on MdBOM for quite some time. I've done some changes and could now implement the dotnet compatibility. If you're still interested it would be nice to get a sample BOM as JSON from the dotnet ecosystem. I am not a dotnet developer and thus do not have any setup.
from mdbom.
Related Issues (17)
- Create initial version
- Switch from make to Task
- Move from Sphinx to MkDocs
- Implement config feature
- Investigate empty license info
- Implement Golang processor
- Add 3rd party report to documentation
- Switch to purl for links to packages
- Multiple BOM files
- Links in the 3rd Party documentation
- Add purl package type
- MdBOM seems to have issues with different Python environments
- Failure to run `generate` on macOS/homebrew. HOT 1
- Conflict mkdocs-material and mdbom HOT 2
- Test PyPi deployment on release/... branches
- Add possibility to work with npm SBOMs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdbom.