types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: AGPL-3.0 Imports: 4 Imported by: 128

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerOption

func GetDockerOption() (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"`

	types.Vulnerability
}

type DockerConfig

type DockerConfig struct {
	AuthURL  string        `env:"TRIVY_AUTH_URL"`
	UserName string        `env:"TRIVY_USERNAME"`
	Password string        `env:"TRIVY_PASSWORD"`
	Timeout  time.Duration `env:"TRIVY_TIMEOUT_SEC" envDefault:"60s"`
	Insecure bool          `env:"TRIVY_INSECURE" envDefault:"true"`
	NonSSL   bool          `env:"TRIVY_NON_SSL" envDefault:"false"`
}

type Library

type Library struct {
	Name    string
	Version string
}

type ScanOptions

type ScanOptions struct {
	VulnType []string
	Timeout  time.Duration
}

Jump to

Keyboard shortcuts

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