Skip to content

Commit

Permalink
feat: add cspm usage request
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Jul 29, 2024
1 parent e1f2551 commit e4d357e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/api/shared-entities/information.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package shared_entities

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"`
}

0 comments on commit e4d357e

Please sign in to comment.