Giter Club home page Giter Club logo

Comments (4)

madpah avatar madpah commented on June 18, 2024 1

@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.

damiencarol avatar damiencarol commented on June 18, 2024 1

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.

jkowalleck avatar jkowalleck commented on June 18, 2024

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.

damiencarol avatar damiencarol commented on June 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.