types

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2020 License: AGPL-3.0 Imports: 5 Imported by: 120

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerOption

func GetDockerOption(timeout time.Duration) (types.DockerOption, error)

Types

type DetectedVulnerability added in v0.2.0

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

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 Library

type Library struct {
	Name    string
	Version string
}

type ScanOptions

type ScanOptions struct {
	VulnType            []string
	ScanRemovedPackages bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL