diff --git a/cli/reporter/proto.go b/cli/reporter/proto.go index 84cc3db3..e666c448 100644 --- a/cli/reporter/proto.go +++ b/cli/reporter/proto.go @@ -51,10 +51,11 @@ func ConvertToProto(data *policy.ReportCollection) (*Report, error) { platformName = a.Platform.Name } pAsset := &cr.Asset{ - Mrn: a.Mrn, - Name: a.Name, + Mrn: a.GetMrn(), + Name: a.GetName(), PlatformName: platformName, - TraceId: a.TraceId, + TraceId: a.GetTraceId(), + Labels: a.GetLabels(), } protoReport.Assets[assetMrn] = pAsset }