Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Misconfiguration ¶ added in v0.7.0
type Misconfiguration struct {
// contains filtered or unexported fields
}
type PolicyConfigController ¶ added in v0.8.0
type PolicyConfigController struct { logr.Logger etc.Config kube.ObjectResolver trivyoperator.PluginContext configauditreport.PluginInMemory }
PolicyConfigController watches changes on policies config map and generates v1alpha1.ConfigAuditReport instances based on OPA Rego policies as fast as possible.
func (*PolicyConfigController) SetupWithManager ¶ added in v0.8.0
func (r *PolicyConfigController) SetupWithManager(mgr ctrl.Manager) error
type ResourceController ¶
type ResourceController struct { logr.Logger etc.Config trivyoperator.ConfigData kube.ObjectResolver trivyoperator.PluginContext configauditreport.PluginInMemory configauditreport.ReadWriter RbacReadWriter rbacassessment.ReadWriter InfraReadWriter infraassessment.ReadWriter trivyoperator.BuildInfo }
ResourceController watches all Kubernetes kinds and generates v1alpha1.ConfigAuditReport instances based on OPA Rego policies as fast as possible.
func (*ResourceController) SetupWithManager ¶
func (r *ResourceController) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.