trivy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conf *TrivyConf) error

func InitDB

func InitDB() error

func Scan

func Scan(imageMap map[string]map[string][]string) map[string]report.Results

func UpdateDB

func UpdateDB(cliVersion string) error

func Write

func Write(res *v1.Vulnerability) error

Types

type Result

type Result report.Result

type Results

type Results []Result

type TrivyConf

type TrivyConf struct {
	ClearCache     bool
	SeverityFilter string
	Debug          bool
	Quiet          bool
	CacheDir       string
	Reset          bool
	NoTarget       bool
	IgnoreUnfixed  bool
	VulnType       string
	Format         string
	Refresh        bool
	AutoRefresh    bool
	SkipUpdate     bool
	OnlyUpdate     string
}

Jump to

Keyboard shortcuts

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