package
Version:
v0.5.4
Opens a new window with list of versions in this module.
Published: Apr 1, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 130
Opens a new window with list of known importers.
Documentation
¶
type DetectedVulnerability struct {
VulnerabilityID string `json:",omitempty"`
PkgName string `json:",omitempty"`
InstalledVersion string `json:",omitempty"`
FixedVersion string `json:",omitempty"`
LayerID digest.Digest `json:",omitempty"`
types.Vulnerability
}
type DockerConfig struct {
UserName string `env:"TRIVY_USERNAME"`
Password string `env:"TRIVY_PASSWORD"`
Insecure bool `env:"TRIVY_INSECURE" envDefault:"true"`
DockerCertPath string `env:"DOCKER_CERT_PATH"`
DockerHost string `env:"DOCKER_HOST"`
}
type ScanOptions struct {
VulnType []string
ScanRemovedPackages bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.