Documentation ¶
Index ¶
Constants ¶
View Source
const ( //KubeBench scanner name as appear in specs file KubeBench = "kube-bench" //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 ClusterComplianceReportReconciler ¶
type ClusterComplianceReportReconciler struct { logr.Logger etc.Config client.Client Mgr ext.Clock }
func (*ClusterComplianceReportReconciler) SetupWithManager ¶
func (r *ClusterComplianceReportReconciler) SetupWithManager(mgr ctrl.Manager) error
type Mgr ¶
type Mgr interface {
GenerateComplianceReport(ctx context.Context, spec v1alpha1.ReportSpec) error
}
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 }
Click to show internal directories.
Click to hide internal directories.