Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { ID string `yaml:"id" json:"test_number"` Text string `json:"test_desc"` TestInfo []string `json:"test_info"` State `json:"status"` }
Check contains information about a recommendation in the CIS Kubernetes document.
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( log *logging.Logger, client kubernetes.Interface, cfg Config, castClient castaiClient, logsReader kube.PodLogProvider, kubeController kubeController, scannedNodes []string, ) *Controller
func (*Controller) OnAdd ¶
func (c *Controller) OnAdd(obj kube.Object)
func (*Controller) OnDelete ¶
func (c *Controller) OnDelete(obj kube.Object)
func (*Controller) OnUpdate ¶
func (c *Controller) OnUpdate(obj kube.Object)
func (*Controller) RequiredInformers ¶
func (c *Controller) RequiredInformers() []reflect.Type
func (*Controller) RequiredTypes ¶
func (c *Controller) RequiredTypes() []reflect.Type
type Group ¶
type Group struct {
Checks []*Check `json:"results"`
}
Group is a collection of similar checks.
type KubeBenchReport ¶
type KubeBenchReport struct { OverallControls `json:",inline"` Node `json:",inline"` }
type OverallControls ¶
type OverallControls struct {
Controls []*Controls `json:"Controls"`
}
Click to show internal directories.
Click to hide internal directories.