Skip to content

Commit

Permalink
Adds binary dependency relationships to sbom outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Ebarb <[email protected]>
  • Loading branch information
brian-ebarb committed Apr 17, 2024
1 parent 89d6c97 commit aae2d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/relationship/finalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Finalize(resolver file.Resolver, builder sbomsync.Builder, cfg cataloging.R
accessor.WriteToSBOM(func(s *sbom.SBOM) {
s.Relationships = append(s.Relationships, newBinaryRelationships...)
})

builder.AddRelationships(newBinaryRelationships...)
// add source "contains package" relationship (source-to-package)
var sourceRelationships []artifact.Relationship
accessor.ReadFromSBOM(func(s *sbom.SBOM) {
Expand Down

0 comments on commit aae2d97

Please sign in to comment.