cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess              = 0
	ExitError                = 1
	ExitVulnerabilitiesFound = 2
)

Variables

View Source
var (
	Version   = "dev"
	BuildDate = "unknown"
	GitCommit = "unknown"
)

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

func New

func New() *CLI

func (*CLI) Execute

func (c *CLI) Execute() int

type Config

type Config struct {
	Target              string
	Timeout             time.Duration
	Scanners            []string
	OutputFormat        string
	OutputFile          string
	HTMLFile            string
	JSONFile            string
	Verbose             bool
	NoColor             bool
	FailOnVulnerability bool
	MinSeverity         string
	DBEnabled           bool
	DBPath              string
	Category            string
	EPSSEnabled         bool
	EPSSOutput          string
	ChartFile           string
	AnalysisEnabled     bool
}

Jump to

Keyboard shortcuts

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