File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 11package shared_entities
22
3- import "time"
3+ import (
4+ "github.com/google/uuid"
5+ "time"
6+ )
47
58// CspmUsageRequest is the request object for the call home feature data gathering
69type CspmUsageRequest struct {
@@ -11,3 +14,20 @@ type CspmUsageRequest struct {
1114 NumberOfUsers int64 `json:"number_of_users"`
1215 IntegrationTypeCount map [string ]int `json:"integration_type_count"`
1316}
17+
18+ type UsageTrackerPluginInfo struct {
19+ Name string `json:"name"`
20+ Version string `json:"version"`
21+ IntegrationCount int `json:"integration_count"`
22+ }
23+
24+ type UsageTrackerRequest struct {
25+ InstanceID uuid.UUID `json:"instance_id"`
26+ Time time.Time `json:"time"`
27+ Version string `json:"version"`
28+ Hostname string `json:"hostname"`
29+ IsSsoConfigured bool `json:"is_sso_configured"`
30+ UserCount int64 `json:"user_count"`
31+ ApiKeyCount int64 `json:"api_key_count"`
32+ Plugins []UsageTrackerPluginInfo `json:"plugins"`
33+ }
You can’t perform that action at this time.
0 commit comments