cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultColorOption = colorAuto
)
View Source
const (
	DefaultScOption = scNo
)

Variables

This section is empty.

Functions

func ColorOptions

func ColorOptions() []string

func Execute

func Execute()

func GetVersion

func GetVersion() string

func InitColorPackage

func InitColorPackage(colorWhen string) error

func IsScorecardEnabled

func IsScorecardEnabled(when string) bool

func IsScorecardVerbose

func IsScorecardVerbose(when string) bool

func ValidateScorecardOption

func ValidateScorecardOption(opt string) error

Types

type PolicyDoc

type PolicyDoc struct {
	PolicyName  string `yaml:"policy_name"`
	Title       string
	Description string
	Severity    string
	Remediation []string
	Threat      []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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