Skip to content

Commit

Permalink
Update based on code review
Browse files Browse the repository at this point in the history
Signed-off-by: nathannaveen <[email protected]>
  • Loading branch information
nathannaveen committed May 10, 2024
1 parent ed05894 commit 15ebaae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ingestor/parser/cyclonedx/parser_cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ func (c *cyclonedxParser) findCDXPkgVersionIDs(ctx context.Context, pkgIdentifie
var pkgVersions []string
for _, depPkgVersion := range pkgResponse.Packages[0].Namespaces[0].Names[0].Versions {
pkgVersions = append(pkgVersions, depPkgVersion.Version)
// TODO (nathannaveen): use depPkgVersion.Purl instead of creating a new purl.
pkgVersionsMap[depPkgVersion.Version] = guacCDXPkgPurl(typeGUAC, depPkgVersion.Version, "", false)
}

Expand Down

0 comments on commit 15ebaae

Please sign in to comment.