Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyftArtifact ¶
type SyftArtifact struct {
Id string `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
Type string `json:"type"`
FoundBy string `json:"foundBy"`
Language string `json:"language"`
Purl string `json:"purl"`
Cpes []SyftCpe `json:"cpes"`
Locations []grypetype.GrypeLocation `json:"location"`
}
`json:""`
type SyftDescriptor ¶
type SyftDistro ¶
type SyftMetadata ¶
type SyftSbomType ¶
type SyftSbomType struct {
Source SyftSource `json:"source"`
Distro SyftDistro `json:"distro"`
Artifacts []SyftArtifact `json:"artifacts"`
Descriptor SyftDescriptor `json:"descriptor"`
}
output of grype -o json
func (*SyftSbomType) FromBytes ¶
func (rx *SyftSbomType) FromBytes(input []byte) error
parse []bytes to model
type SyftSource ¶
type SyftSource struct {
Name string `json:"name"`
Version string `json:"version"`
Metadata SyftMetadata `json:"metadata"`
}
Click to show internal directories.
Click to hide internal directories.