config

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CISKubeBenchReports

type CISKubeBenchReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

CISKubeBenchReports configuration

type ComplianceReports

type ComplianceReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

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"`
	RbacAssessmentReports RbacAssessmentReports `mapstructure:"rbacAssessmentReports"`
	ExposedSecretReports  ExposedSecretReports  `mapstructure:"exposedSecretReports"`
}

Config of the Tracee Adapter

type ConfigAuditReports

type ConfigAuditReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

ConfigAuditReports configuration

type ExposedSecretReports added in v0.1.0

type ExposedSecretReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

ExposedSecretReports configuration

type RbacAssessmentReports added in v0.1.0

type RbacAssessmentReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

RbacAssessmentReports 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) ClusterRbacAssessmentReportClient added in v0.1.0

func (r *Resolver) ClusterRbacAssessmentReportClient() (*clusterrbac.Client, error)

ClusterRbacAssessmentReportClient resolver method

func (*Resolver) ComplianceReportClient added in v0.1.0

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

ComplianceReportClient resolver method

func (*Resolver) ConfigAuditReportClient

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

ConfigAuditReportClient resolver method

func (*Resolver) ExposedSecretReportClient added in v0.1.0

func (r *Resolver) ExposedSecretReportClient() (*exposedsecret.Client, error)

RbacAssessmentReportClient resolver method

func (*Resolver) Manager added in v0.1.0

func (r *Resolver) Manager() (manager.Manager, error)

func (*Resolver) RbacAssessmentReportClient added in v0.1.0

func (r *Resolver) RbacAssessmentReportClient() (*rbac.Client, error)

RbacAssessmentReportClient resolver method

func (*Resolver) VulnerabilityReportClient

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

VulnerabilityReportClient resolver method

type VulnerabilityReports

type VulnerabilityReports struct {
	Enabled     bool     `mapstructure:"enabled"`
	ApplyLabels []string `mapstructure:"applyLabels"`
}

VulnerabilityReports configuration

Jump to

Keyboard shortcuts

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