diff --git a/cli/cmd/compliance_aws.go b/cli/cmd/compliance_aws.go index d2ece6072..eea6726d8 100644 --- a/cli/cmd/compliance_aws.go +++ b/cli/cmd/compliance_aws.go @@ -188,7 +188,7 @@ To show recommendation details and affected resources for a recommendation id: &complianceCSVReportDetails{ AccountName: report.AccountID, AccountID: report.AccountID, - ReportType: report.ReportType, + ReportType: reportType.String(), ReportTime: report.ReportTime, Recommendations: report.Recommendations, }, diff --git a/cli/cmd/compliance_azure.go b/cli/cmd/compliance_azure.go index 5a82bb8e2..1940f3442 100644 --- a/cli/cmd/compliance_azure.go +++ b/cli/cmd/compliance_azure.go @@ -244,7 +244,7 @@ To show recommendation details and affected resources for a recommendation id: AccountID: report.SubscriptionID, TenantName: report.TenantName, TenantID: report.TenantID, - ReportType: report.ReportType, + ReportType: reportType.String(), ReportTime: report.ReportTime, Recommendations: report.Recommendations, }, diff --git a/cli/cmd/compliance_gcp.go b/cli/cmd/compliance_gcp.go index ab20639d9..f3936a3c6 100644 --- a/cli/cmd/compliance_gcp.go +++ b/cli/cmd/compliance_gcp.go @@ -254,7 +254,7 @@ To show recommendation details and affected resources for a recommendation id: TenantID: report.OrganizationID, AccountName: report.ProjectName, AccountID: report.ProjectID, - ReportType: report.ReportType, + ReportType: reportType.String(), ReportTime: report.ReportTime, Recommendations: report.Recommendations, },