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 SyftDigest ¶ added in v0.9.11
type SyftDistro ¶
type SyftMetadata ¶
type SyftMetadata struct {
UserInput string `json:"userInput"`
ImageId string `json:"imageId"`
ImageSize uint64 `json:"imageSize"`
Path string `json:"path"`
Digests []SyftDigest `json:"digests"`
}
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 {
ID string `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
Metadata SyftMetadata `json:"metadata"`
}
Click to show internal directories.
Click to hide internal directories.