cmd

package
v0.0.0-...-056f41a Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StdOutput  = "stdout"
	FileOutput = "file"

	JSONFormat = "json"
	YAMLFormat = "yaml"
)
View Source
const (
	VulnListSchema   = "vuln-list"
	VulnDetailSchema = "vuln-detail"
	MetaDataSchema   = "metadate"
)
View Source
const (
	QueryName = "name"
	QueryID   = "id"
)

Variables

View Source
var Type string

Functions

func Execute

func Execute()

func FetchVuln

func FetchVuln(fetchType string, c aliyun_vuln.AliyunVuln) error

func PrintVuln

func PrintVuln(fetchType string, vulns []*model.VulnList, bar *pb.ProgressBar) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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