github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/dotnet.go (about) 1 package pkg 2 3 // DotnetDepsEntry is a struct that represents a single entry found in the "libraries" section in a .NET [*.]deps.json file. 4 type DotnetDepsEntry struct { 5 Name string `mapstructure:"name" json:"name"` 6 Version string `mapstructure:"version" json:"version"` 7 Path string `mapstructure:"path" json:"path"` 8 Sha512 string `mapstructure:"sha512" json:"sha512"` 9 HashPath string `mapstructure:"hashPath" json:"hashPath"` 10 } 11 12 // DotnetPortableExecutableEntry is a struct that represents a single entry found within "VersionResources" section of a .NET Portable Executable binary file. 13 type DotnetPortableExecutableEntry struct { 14 AssemblyVersion string `json:"assemblyVersion"` 15 LegalCopyright string `json:"legalCopyright"` 16 Comments string `json:"comments,omitempty"` 17 InternalName string `json:"internalName,omitempty"` 18 CompanyName string `json:"companyName"` 19 ProductName string `json:"productName"` 20 ProductVersion string `json:"productVersion"` 21 }