config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISKubeBenchReports

type CISKubeBenchReports struct {
	Enabled bool `mapstructure:"enabled"`
}

CISKubeBenchReports configuration

type ComplianceReports

type ComplianceReports struct {
	Enabled bool `mapstructure:"enabled"`
}

ComplianceReports configuration

type Config

type Config struct {
	Kubeconfig           string               `mapstructure:"kubeconfig"`
	VulnerabilityReports VulnerabilityReports `mapstructure:"vulnerabilityReports"`
	ConfigAuditReports   ConfigAuditReports   `mapstructure:"configAuditReports"`
	CISKubeBenchReports  CISKubeBenchReports  `mapstructure:"cisKubeBenchReports"`
	ComplianceReports    ComplianceReports    `mapstructure:"complianceReports"`
}

Config of the Tracee Adapter

type ConfigAuditReports

type ConfigAuditReports struct {
	Enabled bool `mapstructure:"enabled"`
}

ConfigAuditReports configuration

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver manages dependencies

func NewResolver

func NewResolver(config *Config, k8sConfig *rest.Config) Resolver

NewResolver constructor function

func (*Resolver) CISKubeBenchReportClient

func (r *Resolver) CISKubeBenchReportClient() (*kubebench.Client, error)

CISKubeBenchReportClient resolver method

func (*Resolver) CompliaceReportClient

func (r *Resolver) CompliaceReportClient() (*compliance.Client, error)

CompliaceReportClient resolver method

func (*Resolver) ConfigAuditReportClient

func (r *Resolver) ConfigAuditReportClient() (*auditr.Client, error)

ConfigAuditReportClient resolver method

func (*Resolver) VulnerabilityReportClient

func (r *Resolver) VulnerabilityReportClient() (*vulnr.Client, error)

VulnerabilityReportClient resolver method

type VulnerabilityReports

type VulnerabilityReports struct {
	Enabled bool `mapstructure:"enabled"`
}

VulnerabilityReports configuration

Jump to

Keyboard shortcuts

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