Replies: 1 comment
|
@jni2000 From what you've described, I don't think this is a limitation of the CycloneDX or SPDX specifications themselves. One important difference is that ScanCode's native JSON output is a complete scan report, while the CycloneDX and SPDX-TV outputs are SBOM formats. They are intended to represent software components/packages and their associated metadata, not necessarily every license detection that appears in individual source files. :contentReference[oaicite:0]{index=0} In particular, the ScanCode documentation notes that:
A few questions that would help narrow this down:
If you're using the same scan options and the JSON report clearly contains detected licenses while the generated SPDX-TV/CycloneDX contains no corresponding package or file license information, that could indicate a bug or an edge case worth investigating. A minimal reproducer would be very helpful:
That would make it much easier to determine whether this is expected SBOM behavior or a problem in the output generation. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I run the tool to scan the license info of a software package. What I found that,
Can anyone please help me explain if this is restricted by the CycloneDX and SPDX specification limitation or a potential bug in the tool ?
The tool is still a great tool, in all my usage experiences!
Thanks
All reactions