Comments (4)
@madpah can't we use PURL string as the bom-ref for component? the specification do that in the examples. Could be better than generate a UUID and keep a trace of it, etc... see https://github.com/CycloneDX/specification/blob/master/tools/src/test/resources/1.4/valid-vulnerability-1.4.json
@damiencarol - we can't use a PURL in most circumstances, but the model provided for by this library allows that to be the case. This PR was a precursor to a full fix in jake
btw.
from cyclonedx-python-lib.
will test it as soon as it's ready.
FYI: I'm working on making Jake
importing works for https://github.com/DefectDojo/django-DefectDojo
from cyclonedx-python-lib.
some related thoughts: https://github.com/CycloneDX/cyclonedx-php-library/blob/master/docs/dev/decisions/BomDependencyDataModel.md
PHP implementation that assignes bom-refs and makes then unique on render time: https://github.com/CycloneDX/cyclonedx-php-library/blob/master/src/Core/Serialize/BomRefDiscriminator.php
and the unit tests for it: https://github.com/CycloneDX/cyclonedx-php-library/blob/52a8e7e642480429249f5ff3cd5944b80451e98b/tests/Core/Serialize/BaseSerializerTest.php#L113
from cyclonedx-python-lib.
@madpah can't we use PURL string as the bom-ref for component? the specification do that in the examples.
Could be better than generate a UUID and keep a trace of it, etc...
see https://github.com/CycloneDX/specification/blob/master/tools/src/test/resources/1.4/valid-vulnerability-1.4.json
from cyclonedx-python-lib.
Related Issues (20)
- Components with no `bom_ref` specified break dependency tree HOT 2
- Components not properly in dep tree nor BOM HOT 8
- vulnerability.updated property fails validation HOT 5
- tests: test suite break when path contains `#` HOT 7
- class `Diff` is not serializable HOT 1
- Question: Adding tools as bom.metadata with sbom-1.5 HOT 5
- feat: `metadata.tools` support `components`&`services` HOT 2
- dependencies/bom-ref is not respected HOT 5
- License issue GPL dependency rfc3987 HOT 5
- Support for CycloneDX 1.6
- Complete support for CycloneDX v1.5 HOT 1
- Improvement: Apply Regex check to `Component.cpe`
- Complete support for CycloneDX v1.4 HOT 3
- The Component `__lt__` function can result in invalid components SortedSet HOT 10
- feat: disjunctive license acknowledgement
- feat: license factory - support acknowledgement
- `LicenseExpression`'s optional arguments should be named arguments
- AttributeError: There was an AttributeError deserializing JSON to <class 'cyclonedx.model.bom.Bom'> the Property HOT 4
- BUG: arbitrary dict comparison causes issues HOT 3
- [BUG] OrganizationalEntity validation error should not be raised HOT 3
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 cyclonedx-python-lib.