github.com/anchore/syft@v1.38.2/syft/pkg/bitnami.go (about) 1 package pkg 2 3 // BitnamiSBOMEntry represents all captured data from Bitnami packages 4 // described in Bitnami' SPDX files. 5 type BitnamiSBOMEntry struct { 6 // Name is the package name as found in the Bitnami SPDX file 7 Name string `mapstructure:"name" json:"name"` 8 9 // Architecture is the target CPU architecture (amd64 or arm64 in Bitnami images) 10 Architecture string `mapstructure:"arch" json:"arch"` 11 12 // Distro is the distribution name this package is for (base OS like debian, ubuntu, etc.) 13 Distro string `mapstructure:"distro" json:"distro"` 14 15 // Revision is the Bitnami-specific package revision number (incremented for Bitnami rebuilds of same upstream version) 16 Revision string `mapstructure:"revision" json:"revision"` 17 18 // Version is the package version as found in the Bitnami SPDX file 19 Version string `mapstructure:"version" json:"version"` 20 21 // Path is the installation path in the filesystem where the package is located 22 Path string `mapstructure:"path" json:"path"` 23 24 // Files are the file paths owned by this package (tracked via SPDX relationships) 25 Files []string `mapstructure:"files" json:"files"` 26 } 27 28 func (b BitnamiSBOMEntry) OwnedFiles() (result []string) { 29 return b.Files 30 }