scan

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdScanK8s

func NewCmdScanK8s(rootCmd *cobra.Command) *cobra.Command

Types

type Choice

type Choice = cmdutil.Choice

type ScanOptions

type ScanOptions struct {
	IO       *iostreams.IOStreams
	Policies *policies.PolicyRegistry

	Files []string
	Exec  *api.NewExecution

	BaseDirectory       string
	OutputFormat        string
	OutputFile          string
	Exceptions          string
	IgnoredRules        []string
	LevelFilter         string
	EnableLiveScan      bool
	KubernetesNamespace string
	KubernetesContext   string
	KubeConfigPath      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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