Skip to content

Commit

Permalink
Add DownloadLocation to all our packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor committed Jul 1, 2022
1 parent bf49959 commit fc472b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/sbom/spdx.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ func GenerateImageSPDX(koVersion string, mod []byte, img oci.SignedImage) ([]byt
ID: imageID,
Name: imgDigest.String(),
// TODO: PackageSupplier: "Organization: " + bs.Main.Path
FilesAnalyzed: false,
DownloadLocation: NOASSERTION,
FilesAnalyzed: false,
// TODO: PackageHomePage: "https://" + bi.Main.Path,
LicenseConcluded: NOASSERTION,
LicenseDeclared: NOASSERTION,
Expand Down Expand Up @@ -195,6 +196,7 @@ func GenerateIndexSPDX(koVersion string, sii oci.SignedImageIndex) ([]byte, erro
doc.Packages = []Package{{
ID: indexID,
Name: d.String(),
DownloadLocation: NOASSERTION,
FilesAnalyzed: false,
LicenseConcluded: NOASSERTION,
LicenseDeclared: NOASSERTION,
Expand Down

0 comments on commit fc472b5

Please sign in to comment.