Skip to content

License does not serialize license_url to the output. #179

@schlenk

Description

@schlenk

The license_url optional field is not serialized to the XML output.
The spec recommends to also add the ExternalReference with type LICENSE, but i would expect the URL in the output, if it is given as part of the License type.

Probably just missing in the code here:

if license.license:

Seen using cyclonedx-python-lib 1.3.0, but the code seems identical in the main branch.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions