scan

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdScan

func NewCmdScan(logger logr.Logger, streams clioptions.IOStreams) *cobra.Command

Types

type CveToSha1ToLib

type CveToSha1ToLib map[string]Sha1ToLib

type Options

type Options struct {
	Directory string

	*settings.Settings
	settings.Flags
	logr.Logger
	clioptions.IOStreams
	// contains filtered or unexported fields
}

func (*Options) Complete

func (o *Options) Complete() (err error)

Complete verifies command line arguments and loads data from the command environment

func (*Options) Run

func (o *Options) Run() error

type Sha1ToLib

type Sha1ToLib map[string]records.VulnerableLib

type Vulnerability

type Vulnerability struct {
	CveId         string
	Summary       string
	FixResolution string
}

Jump to

Keyboard shortcuts

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