feat: add safe tensor model type to SBOM output (#4844)

---------
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Christopher Angelo Phillips
2026-07-15 17:14:03 -04:00
committed by GitHub
co-authored by Alex Goodman
parent ed499fd2d0
commit aff2c247db
37 changed files with 7829 additions and 89 deletions
@@ -58,6 +58,7 @@ func Test_OriginatorSupplier(t *testing.T) {
pkg.YarnLockEntry{},
pkg.TerraformLockProviderEntry{},
pkg.GGUFFileHeader{},
pkg.SafeTensorsModelInfo{},
pkg.DenoLockEntry{},
pkg.DenoRemoteLockEntry{},
pkg.VcpkgManifest{},
@@ -85,7 +85,7 @@ func SourceInfo(p pkg.Package) string {
case pkg.TerraformPkg:
answer = "acquired package info from Terraform dependency lock file"
case pkg.ModelPkg:
answer = "acquired package info from AI artifact (e.g. GGUF File)"
answer = "acquired package info from AI model artifact"
case pkg.VcpkgPkg:
answer = "acquired package info from vcpkg manifest file"
default: