From cf8555ca335a051027e22d51522e9c8e70d35a74 Mon Sep 17 00:00:00 2001 From: Mahan Zendedel DH Date: Sun, 1 Sep 2024 17:26:09 +0400 Subject: [PATCH] fix: update information cspm usage --- pkg/api/shared-entities/information.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkg/api/shared-entities/information.go b/pkg/api/shared-entities/information.go index 5ae4e04..6d771a9 100644 --- a/pkg/api/shared-entities/information.go +++ b/pkg/api/shared-entities/information.go @@ -4,11 +4,10 @@ import "time" // CspmUsageRequest is the request object for the call home feature data gathering type CspmUsageRequest struct { - WorkspaceId string `json:"workspace_id"` - AwsOrganizationRootEmails []string `json:"aws_organization_root_emails"` - AwsAccountCount int `json:"aws_account_count"` - AzureAdPrimaryDomains []string `json:"azure_ad_primary_domains"` - AzureSubscriptionCount int `json:"azure_subscription_count"` - Users []string `json:"users"` - GatherTimestamp time.Time `json:"gather_timestamp"` + WorkspaceId string `json:"workspace_id"` + GatherTimestamp time.Time `json:"gather_timestamp"` + + AwsAccountCount int `json:"aws_account_count"` + AzureSubscriptionCount int `json:"azure_subscription_count"` + ApproximateSpend int `json:"approximate_spend"` }