checkov

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDK added in v0.4.58

type CDK struct {
	tools.DirectoryBasedToolOpts
	OutDirectory string
	SynthArgs    []string
	Synth        bool
}

func (*CDK) Name added in v0.4.58

func (cdk *CDK) Name() string

func (*CDK) Register added in v0.4.58

func (cdk *CDK) Register(cmd *cobra.Command)

func (*CDK) Run added in v0.4.58

func (cdk *CDK) Run() (*tools.Result, error)

func (*CDK) Validate added in v0.4.58

func (cdk *CDK) Validate() error

type Dockerfile added in v0.5.24

type Dockerfile struct {
	tools.DirectoryBasedToolOpts
	Dockerfile string
	// contains filtered or unexported fields
}

func (*Dockerfile) Name added in v0.5.24

func (*Dockerfile) Name() string

func (*Dockerfile) Register added in v0.5.24

func (d *Dockerfile) Register(cmd *cobra.Command)

func (*Dockerfile) Run added in v0.5.24

func (d *Dockerfile) Run() (*tools.Result, error)

func (*Dockerfile) Validate added in v0.5.24

func (d *Dockerfile) Validate() error

type Helm added in v0.4.50

type Helm struct {
	tools.DirectoryBasedToolOpts
	Include  []string
	Parallel int
	// contains filtered or unexported fields
}

Despite checkov directly supporting helm it's very buggy. So instead we'll generate the templates ourselves with "helm template" and run checkov on the resulting templates much the same way we do for the CDK.

func (*Helm) Name added in v0.4.50

func (h *Helm) Name() string

func (*Helm) Register added in v0.5.21

func (h *Helm) Register(cmd *cobra.Command)

func (*Helm) Run added in v0.4.50

func (h *Helm) Run() (*tools.Result, error)

func (*Helm) Validate added in v0.5.21

func (h *Helm) Validate() error

type Kubernetes added in v0.5.21

type Kubernetes struct {
	Tool
}

func (*Kubernetes) Validate added in v0.5.21

func (k *Kubernetes) Validate() error

type Kustomize added in v0.5.21

type Kustomize struct {
	tools.DirectoryBasedToolOpts
	Include  []string
	Parallel int
	// contains filtered or unexported fields
}

func (*Kustomize) Name added in v0.5.21

func (k *Kustomize) Name() string

func (*Kustomize) Register added in v0.5.21

func (k *Kustomize) Register(cmd *cobra.Command)

func (*Kustomize) Run added in v0.5.21

func (k *Kustomize) Run() (*tools.Result, error)

func (*Kustomize) Validate added in v0.5.21

func (k *Kustomize) Validate() error

type Plan added in v0.5.25

type Plan struct {
	tools.DirectoryBasedToolOpts
	Plan string
}

func (*Plan) Name added in v0.5.25

func (p *Plan) Name() string

func (*Plan) Register added in v0.5.25

func (p *Plan) Register(cmd *cobra.Command)

func (*Plan) Run added in v0.5.25

func (p *Plan) Run() (*tools.Result, error)

func (*Plan) Validate added in v0.5.25

func (p *Plan) Validate() error

type Tool

type Tool struct {
	tools.DirectoryBasedToolOpts
	Framework            string
	EnableModuleDownload bool
	VarFiles             []string
	// contains filtered or unexported fields
}

func (*Tool) CommandTemplate added in v0.4.32

func (t *Tool) CommandTemplate() *cobra.Command

func (*Tool) Name

func (t *Tool) Name() string

func (*Tool) Register added in v0.4.56

func (t *Tool) Register(cmd *cobra.Command)

func (*Tool) Run

func (t *Tool) Run() (*tools.Result, error)

func (*Tool) Validate added in v0.5.8

func (t *Tool) Validate() error

Jump to

Keyboard shortcuts

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