diff --git a/pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go b/pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go index addb8cec2..701b12e0a 100644 --- a/pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go +++ b/pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go @@ -208,6 +208,6 @@ type ClusterVulnerabilityReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` - // Vulnerability is the spec for a vulnerability record. - Items []VulnerabilityReport `json:"items"` + // ClusterVulnerability is the spec for a cluster vulnerability record. + Items []ClusterVulnerabilityReport `json:"items"` } diff --git a/pkg/apis/aquasecurity/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/aquasecurity/v1alpha1/zz_generated.deepcopy.go index 452a6d1f7..9e4c9d9b2 100644 --- a/pkg/apis/aquasecurity/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/aquasecurity/v1alpha1/zz_generated.deepcopy.go @@ -431,7 +431,7 @@ func (in *ClusterVulnerabilityReportList) DeepCopyInto(out *ClusterVulnerability in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VulnerabilityReport, len(*in)) + *out = make([]ClusterVulnerabilityReport, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) }