Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DpkgMetadata ¶
type DpkgMetadata struct {
Source string
}
type JavaMetadata ¶
type Package ¶
type Package struct {
Name string // the package name
Version string // the version of the package
Locations []source.Location // the locations that lead to the discovery of this package (note: this is not necessarily the locations that make up this package)
Language pkg.Language // the language ecosystem this package belongs to (e.g. JavaScript, Python, etc)
Licenses []string
Type pkg.Type // the package type (e.g. Npm, Yarn, Python, Rpm, Deb, etc)
CPEs []pkg.CPE // all possible Common Platform Enumerators
PURL string // the Package URL (see https://github.com/package-url/purl-spec)
Metadata interface{} // This is NOT the syft metadata! Only the select data needed for vulnerability matching
// contains filtered or unexported fields
}
Package represents an application or library that has been bundled into a distributable format.
func FromCatalog ¶
type RpmdbMetadata ¶
type RpmdbMetadata struct {
SourceRpm string
}
Click to show internal directories.
Click to hide internal directories.