-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final fixes for initial 2-SBOM release #2156
Commits on Jul 8, 2021
-
This commit changes the stated license as Apache-2.0 in both SBOMs. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb533ba - Browse repository at this point
Copy the full SHA eb533baView commit details -
Add ExternalDocRef to SPDX package
This commit adds the capability to the spdx package to reference external documents. This is achieved by a new type ExternalDocumentRef which gets rendered in the document. This commit also modifies the YAML configuration support to enable the definition of external document references: ```yaml external-docs: - id: kubernetes-source uri: http://gcr.io/k8s.spdx checksums: {sha256: 5167fec9c11112ee8ea3f2b21345df18d4a4aec5a5dcbeb03d0d2c8c438eada7} ``` A test for the correct rendering of the new type is included. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 935ad06 - Browse repository at this point
Copy the full SHA 935ad06View commit details -
Artifacts listing funcs in workspace
This commit adds three functions to workspace.go to get the artifacts produced for a given version: ListBuildImages: Returns a list if the image archives ListBuildTarballs: Returns the various tarballs before staging ListBuildBinaries: Returns a struct of binaries, organized by arch and platform Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2db9b07 - Browse repository at this point
Copy the full SHA 2db9b07View commit details -
Add binaries and tarballs to SBOM
This commit modifies GenerateVersionArtifactsBOM to add binaries and workspace files independently to list the bucket paths that will hold them after release. Previously, the SBOM listed binaries in in their staging paths and tarballs where missing. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98cebde - Browse repository at this point
Copy the full SHA 98cebdeView commit details -
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c206316 - Browse repository at this point
Copy the full SHA c206316View commit details -
Regenrate layer SPDX ID to add imageref
When generating a conatiner image PSDX package, we now generate the SPDX IDs for the layers incorporating the image ref. This avoids ID clashes when two images containt the same layer (ie the same base image). Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b817ce0 - Browse repository at this point
Copy the full SHA b817ce0View commit details -
SBOM: Link source SBOM to artifacts SBOM
This commit links the artifacts sbom with the artifacts sbom using a SPDX ExternalDocumentRef. To do this, we now add a new function to the ExternalDocumentRef type to calculate the sha1 checksum from a local file. A test is included for the new function. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afd7c07 - Browse repository at this point
Copy the full SHA afd7c07View commit details -
Ensure SPDX relationship rednering
This commit improves the handling of the SPDX relationships rendering by catching potential inconsistencies. A new test for the function is included. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a21c45 - Browse repository at this point
Copy the full SHA 1a21c45View commit details -
SPDX: Support relationships with remote entities
This commit introduces a change to correctly handle relationships with remote SPDX entities. Before this change, only local objects could be referenced in the SBOM. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 208b1f8 - Browse repository at this point
Copy the full SHA 208b1f8View commit details -
Correct external link to kubernetes source SBOM
This PR corrects the external reference linking the kubernetes source sbom and the release sbom now that the SPDX package supports external references in relationships. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6b4433 - Browse repository at this point
Copy the full SHA e6b4433View commit details