Versions in this module Expand all Collapse all v0 v0.15.15 Oct 9, 2023 Changes in this version + const CISKubeBenchReportCRName + const CISKubeBenchReportCRVersion + const CISKubeBenchReportKind + const CISKubeBenchReportListKind + const ClusterComplianceDetailReportCRName + const ClusterComplianceReportCRName + const ClusterConfigAuditReportCRName + const ClusterVulnerabilityReportsCRName + const ConfigAuditReportCRName + const ConfigAuditReportCRVersion + const ConfigAuditReportKind + const ConfigAuditReportListKind + const KubeHunterReportCRName + const KubeHunterReportCRVersion + const KubeHunterReportKind + const KubeHunterReportListKind + const TTLReportAnnotation + const VulnerabilityReportKind + const VulnerabilityReportListKind + const VulnerabilityReportsCRName + const VulnerabilityReportsCRVersion + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = schema.GroupVersion + func Kind(kind string) schema.GroupKind + func Resource(resource string) schema.GroupResource + type Artifact struct + Digest string + MimeType string + Repository string + Tag string + func (in *Artifact) DeepCopy() *Artifact + func (in *Artifact) DeepCopyInto(out *Artifact) + type CISKubeBenchReport struct + Report CISKubeBenchReportData + func (in *CISKubeBenchReport) DeepCopy() *CISKubeBenchReport + func (in *CISKubeBenchReport) DeepCopyInto(out *CISKubeBenchReport) + func (in *CISKubeBenchReport) DeepCopyObject() runtime.Object + type CISKubeBenchReportData struct + Scanner Scanner + Sections []CISKubeBenchSection + Summary CISKubeBenchSummary + UpdateTimestamp metav1.Time + func (in *CISKubeBenchReportData) DeepCopy() *CISKubeBenchReportData + func (in *CISKubeBenchReportData) DeepCopyInto(out *CISKubeBenchReportData) + type CISKubeBenchReportList struct + Items []CISKubeBenchReport + func (in *CISKubeBenchReportList) DeepCopy() *CISKubeBenchReportList + func (in *CISKubeBenchReportList) DeepCopyInto(out *CISKubeBenchReportList) + func (in *CISKubeBenchReportList) DeepCopyObject() runtime.Object + type CISKubeBenchResult struct + Remediation string + Scored bool + Status string + TestDesc string + TestNumber string + func (in *CISKubeBenchResult) DeepCopy() *CISKubeBenchResult + func (in *CISKubeBenchResult) DeepCopyInto(out *CISKubeBenchResult) + type CISKubeBenchSection struct + ID string + NodeType string + Tests []CISKubeBenchTests + Text string + TotalFail int + TotalInfo int + TotalPass int + TotalWarn int + Version string + func (in *CISKubeBenchSection) DeepCopy() *CISKubeBenchSection + func (in *CISKubeBenchSection) DeepCopyInto(out *CISKubeBenchSection) + type CISKubeBenchSummary struct + FailCount int + InfoCount int + PassCount int + WarnCount int + func (in *CISKubeBenchSummary) DeepCopy() *CISKubeBenchSummary + func (in *CISKubeBenchSummary) DeepCopyInto(out *CISKubeBenchSummary) + type CISKubeBenchTests struct + Desc string + Fail int + Info int + Pass int + Results []CISKubeBenchResult + Section string + Warn int + func (in *CISKubeBenchTests) DeepCopy() *CISKubeBenchTests + func (in *CISKubeBenchTests) DeepCopyInto(out *CISKubeBenchTests) + type Check struct + Category string + Description string + ID string + Messages []string + Remediation string + Scope *CheckScope + Severity Severity + Success bool + Title string + func (in *Check) DeepCopy() *Check + func (in *Check) DeepCopyInto(out *Check) + type CheckScope struct + Type string + Value string + func (in *CheckScope) DeepCopy() *CheckScope + func (in *CheckScope) DeepCopyInto(out *CheckScope) + type ClusterComplianceDetailReport struct + Report ClusterComplianceDetailReportData + func (in *ClusterComplianceDetailReport) DeepCopy() *ClusterComplianceDetailReport + func (in *ClusterComplianceDetailReport) DeepCopyInto(out *ClusterComplianceDetailReport) + func (in *ClusterComplianceDetailReport) DeepCopyObject() runtime.Object + type ClusterComplianceDetailReportData struct + ControlChecks []ControlCheckDetails + Summary ClusterComplianceSummary + Type Compliance + UpdateTimestamp metav1.Time + func (in *ClusterComplianceDetailReportData) DeepCopy() *ClusterComplianceDetailReportData + func (in *ClusterComplianceDetailReportData) DeepCopyInto(out *ClusterComplianceDetailReportData) + type ClusterComplianceDetailReportList struct + Items []ClusterComplianceReport + func (in *ClusterComplianceDetailReportList) DeepCopy() *ClusterComplianceDetailReportList + func (in *ClusterComplianceDetailReportList) DeepCopyInto(out *ClusterComplianceDetailReportList) + func (in *ClusterComplianceDetailReportList) DeepCopyObject() runtime.Object + type ClusterComplianceReport struct + Spec ReportSpec + Status ReportStatus + func (in *ClusterComplianceReport) DeepCopy() *ClusterComplianceReport + func (in *ClusterComplianceReport) DeepCopyInto(out *ClusterComplianceReport) + func (in *ClusterComplianceReport) DeepCopyObject() runtime.Object + type ClusterComplianceReportList struct + Items []ClusterComplianceReport + func (in *ClusterComplianceReportList) DeepCopy() *ClusterComplianceReportList + func (in *ClusterComplianceReportList) DeepCopyInto(out *ClusterComplianceReportList) + func (in *ClusterComplianceReportList) DeepCopyObject() runtime.Object + type ClusterComplianceSummary struct + FailCount int + PassCount int + func (in *ClusterComplianceSummary) DeepCopy() *ClusterComplianceSummary + func (in *ClusterComplianceSummary) DeepCopyInto(out *ClusterComplianceSummary) + type ClusterConfigAuditReport struct + Report ConfigAuditReportData + func (in *ClusterConfigAuditReport) DeepCopy() *ClusterConfigAuditReport + func (in *ClusterConfigAuditReport) DeepCopyInto(out *ClusterConfigAuditReport) + func (in *ClusterConfigAuditReport) DeepCopyObject() runtime.Object + type ClusterConfigAuditReportList struct + Items []ClusterConfigAuditReport + func (in *ClusterConfigAuditReportList) DeepCopy() *ClusterConfigAuditReportList + func (in *ClusterConfigAuditReportList) DeepCopyInto(out *ClusterConfigAuditReportList) + func (in *ClusterConfigAuditReportList) DeepCopyObject() runtime.Object + type ClusterVulnerabilityReport struct + Report VulnerabilityReportData + func (in *ClusterVulnerabilityReport) DeepCopy() *ClusterVulnerabilityReport + func (in *ClusterVulnerabilityReport) DeepCopyInto(out *ClusterVulnerabilityReport) + func (in *ClusterVulnerabilityReport) DeepCopyObject() runtime.Object + type ClusterVulnerabilityReportList struct + Items []ClusterVulnerabilityReport + func (in *ClusterVulnerabilityReportList) DeepCopy() *ClusterVulnerabilityReportList + func (in *ClusterVulnerabilityReportList) DeepCopyInto(out *ClusterVulnerabilityReportList) + func (in *ClusterVulnerabilityReportList) DeepCopyObject() runtime.Object + type Compliance struct + Description string + Name string + Version string + func (in *Compliance) DeepCopy() *Compliance + func (in *Compliance) DeepCopyInto(out *Compliance) + type ConfigAuditReport struct + Report ConfigAuditReportData + func (in *ConfigAuditReport) DeepCopy() *ConfigAuditReport + func (in *ConfigAuditReport) DeepCopyInto(out *ConfigAuditReport) + func (in *ConfigAuditReport) DeepCopyObject() runtime.Object + type ConfigAuditReportData struct + Checks []Check + ContainerChecks map[string][]Check + PodChecks []Check + Scanner Scanner + Summary ConfigAuditSummary + UpdateTimestamp metav1.Time + func (in *ConfigAuditReportData) DeepCopy() *ConfigAuditReportData + func (in *ConfigAuditReportData) DeepCopyInto(out *ConfigAuditReportData) + type ConfigAuditReportList struct + Items []ConfigAuditReport + func (in *ConfigAuditReportList) DeepCopy() *ConfigAuditReportList + func (in *ConfigAuditReportList) DeepCopyInto(out *ConfigAuditReportList) + func (in *ConfigAuditReportList) DeepCopyObject() runtime.Object + type ConfigAuditSummary struct + CriticalCount int + HighCount int + LowCount int + MediumCount int + func ConfigAuditSummaryFromChecks(checks []Check) ConfigAuditSummary + func (in *ConfigAuditSummary) DeepCopy() *ConfigAuditSummary + func (in *ConfigAuditSummary) DeepCopyInto(out *ConfigAuditSummary) + type Control struct + DefaultStatus ControlStatus + Description string + ID string + Kinds []string + Mapping Mapping + Name string + Severity Severity + func (in *Control) DeepCopy() *Control + func (in *Control) DeepCopyInto(out *Control) + type ControlCheck struct + Description string + FailTotal int + ID string + Name string + PassTotal int + Severity Severity + func (in *ControlCheck) DeepCopy() *ControlCheck + func (in *ControlCheck) DeepCopyInto(out *ControlCheck) + type ControlCheckDetails struct + Description string + ID string + Name string + ScannerCheckResult []ScannerCheckResult + Severity Severity + func (in *ControlCheckDetails) DeepCopy() *ControlCheckDetails + func (in *ControlCheckDetails) DeepCopyInto(out *ControlCheckDetails) + type ControlStatus string + const FailStatus + const PassStatus + const WarnStatus + type KubeHunterReport struct + Report KubeHunterReportData + func (in *KubeHunterReport) DeepCopy() *KubeHunterReport + func (in *KubeHunterReport) DeepCopyInto(out *KubeHunterReport) + func (in *KubeHunterReport) DeepCopyObject() runtime.Object + type KubeHunterReportData struct + Scanner Scanner + Summary KubeHunterSummary + UpdateTimestamp metav1.Time + Vulnerabilities []KubeHunterVulnerability + func (in *KubeHunterReportData) DeepCopy() *KubeHunterReportData + func (in *KubeHunterReportData) DeepCopyInto(out *KubeHunterReportData) + type KubeHunterReportList struct + Items []KubeHunterReport + func (in *KubeHunterReportList) DeepCopy() *KubeHunterReportList + func (in *KubeHunterReportList) DeepCopyInto(out *KubeHunterReportList) + func (in *KubeHunterReportList) DeepCopyObject() runtime.Object + type KubeHunterSummary struct + HighCount int + LowCount int + MediumCount int + UnknownCount int + func (in *KubeHunterSummary) DeepCopy() *KubeHunterSummary + func (in *KubeHunterSummary) DeepCopyInto(out *KubeHunterSummary) + type KubeHunterVulnerability struct + AvdReference string + Category string + Description string + Evidence string + Hunter string + ID string + Location string + Severity Severity + Vulnerability string + func (in *KubeHunterVulnerability) DeepCopy() *KubeHunterVulnerability + func (in *KubeHunterVulnerability) DeepCopyInto(out *KubeHunterVulnerability) + type Mapping struct + Checks []SpecCheck + Scanner string + func (in *Mapping) DeepCopy() *Mapping + func (in *Mapping) DeepCopyInto(out *Mapping) + type Registry struct + Server string + func (in *Registry) DeepCopy() *Registry + func (in *Registry) DeepCopyInto(out *Registry) + type ReportSpec struct + Controls []Control + Cron string + Description string + Name string + Version string + func (in *ReportSpec) DeepCopy() *ReportSpec + func (in *ReportSpec) DeepCopyInto(out *ReportSpec) + type ReportStatus struct + ControlChecks []ControlCheck + Summary ClusterComplianceSummary + UpdateTimestamp metav1.Time + func (in *ReportStatus) DeepCopy() *ReportStatus + func (in *ReportStatus) DeepCopyInto(out *ReportStatus) + type ResultDetails struct + Msg string + Name string + Namespace string + Status ControlStatus + func (in *ResultDetails) DeepCopy() *ResultDetails + func (in *ResultDetails) DeepCopyInto(out *ResultDetails) + type Scanner struct + Name string + Vendor string + Version string + func (in *Scanner) DeepCopy() *Scanner + func (in *Scanner) DeepCopyInto(out *Scanner) + type ScannerCheckResult struct + Details []ResultDetails + ID string + ObjectType string + Remediation string + func (in *ScannerCheckResult) DeepCopy() *ScannerCheckResult + func (in *ScannerCheckResult) DeepCopyInto(out *ScannerCheckResult) + type Severity string + const KubeHunterSeverityHigh + const KubeHunterSeverityLow + const KubeHunterSeverityMedium + const KubeHunterSeverityUnknown + const SeverityCritical + const SeverityHigh + const SeverityLow + const SeverityMedium + const SeverityNone + const SeverityUnknown + func StringToSeverity(name string) (Severity, error) + type SpecCheck struct + ID string + func (in *SpecCheck) DeepCopy() *SpecCheck + func (in *SpecCheck) DeepCopyInto(out *SpecCheck) + type Vulnerability struct + Description string + FixedVersion string + InstalledVersion string + Links []string + PrimaryLink string + Resource string + Score *float64 + Severity Severity + Title string + VulnerabilityID string + func (in *Vulnerability) DeepCopy() *Vulnerability + func (in *Vulnerability) DeepCopyInto(out *Vulnerability) + type VulnerabilityReport struct + Report VulnerabilityReportData + func (in *VulnerabilityReport) DeepCopy() *VulnerabilityReport + func (in *VulnerabilityReport) DeepCopyInto(out *VulnerabilityReport) + func (in *VulnerabilityReport) DeepCopyObject() runtime.Object + type VulnerabilityReportData struct + Artifact Artifact + Registry Registry + Scanner Scanner + Summary VulnerabilitySummary + UpdateTimestamp metav1.Time + Vulnerabilities []Vulnerability + func (in *VulnerabilityReportData) DeepCopy() *VulnerabilityReportData + func (in *VulnerabilityReportData) DeepCopyInto(out *VulnerabilityReportData) + type VulnerabilityReportList struct + Items []VulnerabilityReport + func (in *VulnerabilityReportList) DeepCopy() *VulnerabilityReportList + func (in *VulnerabilityReportList) DeepCopyInto(out *VulnerabilityReportList) + func (in *VulnerabilityReportList) DeepCopyObject() runtime.Object + type VulnerabilitySummary struct + CriticalCount int + HighCount int + LowCount int + MediumCount int + NoneCount int + UnknownCount int + func (in *VulnerabilitySummary) DeepCopy() *VulnerabilitySummary + func (in *VulnerabilitySummary) DeepCopyInto(out *VulnerabilitySummary)