func BuildReportForUnstructured(passed, aggregated bool, obj *KubeUnstructuredResource) *Report {
	gvk := obj.GroupVersionKind()
	return &Report{
		Passed:     passed,
		Aggregated: aggregated,
		Data: event.Data{
			KubeResourceFieldKind:      gvk.Kind,
			KubeResourceFieldGroup:     gvk.Group,
			KubeResourceFieldVersion:   gvk.Version,
			KubeResourceFieldName:      obj.GetName(),
			KubeResourceFieldNamespace: obj.GetNamespace(),
		},
		Resource: ReportResource{
			ID:   obj.ID(),
			Type: obj.Type(),
		},
	}
}
// BuildReportForUnstructured returns default Report for Kubernetes objects
BuildReportForUnstructured returns default Report for Kubernetes objects
// BuildReportForUnstructured returns default Report for Kubernetes objects
func BuildReportForUnstructured(passed, aggregated bool, obj *KubeUnstructuredResource) *Report {
	gvk := obj.GroupVersionKind()
	return &Report{
		Passed:     passed,
		Aggregated: aggregated,
		Data: event.Data{
			KubeResourceFieldKind:      gvk.Kind,
			KubeResourceFieldGroup:     gvk.Group,
			KubeResourceFieldVersion:   gvk.Version,
			KubeResourceFieldName:      obj.GetName(),
			KubeResourceFieldNamespace: obj.GetNamespace(),
		},
		Resource: ReportResource{
			ID:   obj.ID(),
			Type: obj.Type(),
		},
	}
}
func BuildReportForUnstructured ( passed , aggregated bool , obj * KubeUnstructuredResource ) * Report { gvk := obj . GroupVersionKind ( ) return & Report { Passed : passed , Aggregated : aggregated , Data : event . Data { KubeResourceFieldKind : gvk . Kind , KubeResourceFieldGroup : gvk . Group , KubeResourceFieldVersion : gvk . Version , KubeResourceFieldName : obj . GetName ( ) , KubeResourceFieldNamespace : obj . GetNamespace ( ) , } , Resource : ReportResource { ID : obj . ID ( ) , Type : obj . Type ( ) , } , } }
BuildReportForUnstructured returns default Report for Kubernetes objects
BuildReportForUnstructured returns default Report for Kubernetes objects