anchore / syft

CLI tool and library for generating a Software Bill of Materials from container images and filesystems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SBOM is generated with empty name

vjpiyush123 opened this issue · comments

What happened:
SBOM is generated with an empty name for the company's proprietary modules. It used to work earlier.

"packages": [
	{
		"name": "",
		"SPDXID": "SPDXRef-Package-java-archive-a3a6833c5eb6fc44",
		"supplier": "NOASSERTION",
		"downloadLocation": "NOASSERTION",
		"filesAnalyzed": false,

What you expected to happen:
name should be present for the module

Steps to reproduce the issue:

Generate the SBOM for the proprietary images , the modules which are company owned.
SBOM generated with empty Name for those company owned module (not open source)

Anything else we need to know?:

Environment:

👋 @vjpiyush123 do you know which version it worked on earlier? That would help us track down the regression and what changes we might have made to the java cataloger

Old version - syft-0.98.0

Current version - syft-1.2.0"

@spiffcs - Would like to know if any updated on this issue.

Hi @vjpiyush123, we will need more information to help you solve this--can you provide us a publicly accessible image or even a single Jar file that reproduces the problem? If you can't provide us a test image or Jar, we will need you to figure out the exact version of Syft where the problem occurs. From there we can take a look. Thanks!