Skip to content

Incorrect License Names in cyclonedx-gomod mod -licenses #611

@acid-harry

Description

@acid-harry

Hello!
I've noticed that cyclonedx-gomod mod -licenses is returning incorrect license names for some Go modules. Specifically, it reports BSD-Source-Code instead of BSD-3-Clause.

Example Output:
"component [].name: golang.org/x/sync, license.id: BSD-Source-Code"
"component [
].name: golang.org/x/oauth2, license.id: BSD-Source-Code"
"component [*].name: golang.org/x/net, license.id: BSD-Source-Code"

Expected License Names:
golang.org/x/sync License
golang.org/x/oauth2 License
golang.org/x/net License

Could you please clarify why this is happening? Is there a way to ensure that the correct SPDX license identifiers are assigned?

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions