config

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricsLabels              []string       `mapstructure:"cis-metrics-labels"`
	ScanInterval               time.Duration  `mapstructure:"scan-interval"`
	ScanJobNamespace           string         `mapstructure:"scan-job-namespace"`
	ScanJobServiceAccount      string         `mapstructure:"scan-job-service-account"`
	ScanNamespaces             []string       `mapstructure:"namespaces"`
	ScanNamespaceExcludeRegexp *regexp.Regexp `mapstructure:"scan-namespace-exclude-regexp"`
	ScanNamespaceIncludeRegexp *regexp.Regexp `mapstructure:"scan-namespace-include-regexp"`
	ScanWorkloadResources      []string       `mapstructure:"scan-workload-resources"`
	TrivyImage                 string         `mapstructure:"trivy-image"`
	ActiveScanJobLimit         int            `mapstructure:"active-scan-job-limit"`
}

Jump to

Keyboard shortcuts

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