diff --git a/lib4sbom/cyclonedx/cyclonedx_generator.py b/lib4sbom/cyclonedx/cyclonedx_generator.py index 3fe8904..616f543 100644 --- a/lib4sbom/cyclonedx/cyclonedx_generator.py +++ b/lib4sbom/cyclonedx/cyclonedx_generator.py @@ -534,7 +534,8 @@ def generateJSONComponent(self, id, type, package): item["license"] = license component["licenses"] = [item] if "copyrighttext" in package: - component["copyright"] = package["copyrighttext"] + if package["copyrighttext"] != "NOASSERTION": + component["copyright"] = package["copyrighttext"] if "homepage" in package: externalReference = dict() externalReference["url"] = package["homepage"]