behavior

package
v0.15.15 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CISKubernetesBenchmarkBehavior

func CISKubernetesBenchmarkBehavior(inputs *Inputs) func()

CISKubernetesBenchmarkBehavior returns the container of specs that describe behavior of a CIS Kubernetes Benchmark with the given inputs.

func ConfigurationCheckerBehavior

func ConfigurationCheckerBehavior(inputs *Inputs) func()

ConfigurationCheckerBehavior returns the container of specs that describe behavior of a configuration checker with the given inputs.

func VulnerabilityScannerBehavior

func VulnerabilityScannerBehavior(inputs *Inputs) func()

VulnerabilityScannerBehavior returns the container of specs that describe behavior of a vulnerability scanner with the given inputs.

Types

type Inputs

type Inputs struct {
	AssertTimeout         time.Duration
	PrimaryNamespace      string
	PrimaryWorkloadPrefix string

	// ConfigAuditReportsPlugin is the name of the configauditreport.Plugin.
	ConfigAuditReportsPlugin string

	client.Client
	*helper.Helper
}

Inputs represents required inputs to shared behavior containers.

Jump to

Keyboard shortcuts

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