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 1, 2024
1 parent a06a21f commit 5a0516e
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 @@ -506,6 +506,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 5a0516e

Please sign in to comment.