Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auditor ¶
type Auditor struct { KubeauditConfig kubeauditconfig.KubeauditConfig Report kubeaudit.Report Klustair struct { ReportUid string `json:"report_uid"` NamespaceUid string `json:"namespace_uid"` } }
func (*Auditor) Audit ¶
func (a *Auditor) Audit(namespace string) []KubeauditReport
func (*Auditor) SetConfig ¶
func (a *Auditor) SetConfig(auditors []string) kubeauditconfig.KubeauditConfig
type KubeauditReport ¶
type KubeauditReport struct { Uid string `json:"uid"` ReportUid string `json:"report_uid"` NamespaceUid string `json:"namespace_uid"` AuditTime string `json:"time"` AuditType string `json:"audit_type"` AuditName string `json:"AuditResultName"` Message string `json:"msg"` SeverityLevel string `json:"level"` Capability string `json:"Capability"` Container string `json:"Container"` MissingAnnotations string `json:"MissingAnnotations"` ResourceName string `json:"ResourceName"` ResourceNamespace string `json:"ResourceNamespace"` ResourceApiVersion string `json:"ResourceApiVersion"` }
Click to show internal directories.
Click to hide internal directories.