mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
17 lines
838 B
Go
17 lines
838 B
Go
package pkg
|
|
|
|
// GolangBinaryBuildinfoEntry represents all captured data for a Golang binary
|
|
type GolangBinaryBuildinfoEntry struct {
|
|
BuildSettings KeyValues `json:"goBuildSettings,omitempty" cyclonedx:"goBuildSettings"`
|
|
GoCompiledVersion string `json:"goCompiledVersion" cyclonedx:"goCompiledVersion"`
|
|
Architecture string `json:"architecture" cyclonedx:"architecture"`
|
|
H1Digest string `json:"h1Digest,omitempty" cyclonedx:"h1Digest"`
|
|
MainModule string `json:"mainModule,omitempty" cyclonedx:"mainModule"`
|
|
GoCryptoSettings []string `json:"goCryptoSettings,omitempty" cyclonedx:"goCryptoSettings"`
|
|
}
|
|
|
|
// GolangModuleEntry represents all captured data for a Golang source scan with go.mod/go.sum
|
|
type GolangModuleEntry struct {
|
|
H1Digest string `json:"h1Digest,omitempty" cyclonedx:"h1Digest"`
|
|
}
|