From fe1493449bab83bbccfaf8cb99a647b7de0536c7 Mon Sep 17 00:00:00 2001 From: Mahan Zendedel DH Date: Sun, 1 Sep 2024 17:29:15 +0400 Subject: [PATCH] fix: update information cspm usage --- pkg/api/shared-entities/information.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/api/shared-entities/information.go b/pkg/api/shared-entities/information.go index 6d771a9..901ef3b 100644 --- a/pkg/api/shared-entities/information.go +++ b/pkg/api/shared-entities/information.go @@ -7,7 +7,8 @@ type CspmUsageRequest struct { 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"` + Hostname string `json:"hostname"` + AwsAccountCount int `json:"aws_account_count"` + AzureSubscriptionCount int `json:"azure_subscription_count"` + ApproximateSpend int `json:"approximate_spend"` }