Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppFeatureVersion ¶
type AppFeatureVersion struct {
scan.AppPackage
ModuleVuls []ModuleVul
InBase bool
}
type ContainerJson ¶
type FeatureFile ¶
type FeatureVersion ¶
type FeatureVersion struct {
Package string
File string
Version utils.Version
MinVer utils.Version
ModuleVuls []ModuleVul
CPEs utils.Set
InBase bool
}
func DetectFeatures ¶
func DetectFeatures(namespace string, data map[string]*FeatureFile, path string) ([]FeatureVersion, error)
DetectFeatures detects a list of FeatureVersion using every registered FeaturesDetector.
type ModuleVul ¶
type ModuleVul struct {
Name string
Status share.ScanVulStatus
}
type Namespace ¶
func DetectNamespace ¶
func DetectNamespace(data map[string]*FeatureFile) *Namespace
DetectNamespace finds the OS of the layer by using every registered NamespaceDetector.
Click to show internal directories.
Click to hide internal directories.