compliance

package
v0.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//ConfigAudit scanner name as appear in specs file
	ConfigAudit = "config-audit"
)
View Source
const (
	ResourceDoNotExistInCluster = "Resource do not exist in cluster"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckDetails

type CheckDetails struct {
	ID          string
	Status      string
	Remediation string
}

type ClusterComplianceReportReconciler

type ClusterComplianceReportReconciler struct {
	logr.Logger
	client.Client
	Mgr
	ext.Clock
}

func (*ClusterComplianceReportReconciler) SetupWithManager

func (r *ClusterComplianceReportReconciler) SetupWithManager(mgr ctrl.Manager) error

type Mapper

type Mapper interface {
	// contains filtered or unexported methods
}

type Mgr

type Mgr interface {
	GenerateComplianceReport(ctx context.Context, spec v1alpha1.ReportSpec) error
}

func NewMgr

func NewMgr(c client.Client, log logr.Logger, config trivyoperator.ConfigData) Mgr

type ResultDetails

type ResultDetails struct {
	Name      string
	Namespace string
	Msg       string
	Status    v1alpha1.ControlStatus
}

type ScannerCheckResult

type ScannerCheckResult struct {
	ObjectType  string
	ID          string
	Remediation string
	Details     []ResultDetails
}

Jump to

Keyboard shortcuts

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