diff --git a/armotypes/workloadview.go b/armotypes/workloadview.go index 86dcef6..4ada61f 100644 --- a/armotypes/workloadview.go +++ b/armotypes/workloadview.go @@ -4,7 +4,8 @@ import "time" type WorkloadViews struct { WorkloadName string `json:"workloadName"` - Kind string `json:"kind"` + Kind string `json:"kind"` // will be deprecated in the future after type is introduced + Type string `json:"type"` Cluster string `json:"cluster"` AccountID string `json:"accountId"` Region string `json:"region"` @@ -16,4 +17,5 @@ type WorkloadViews struct { LearningPeriod string `json:"learningPeriod,omitempty"` RiskFactors []string `json:"riskFactors,omitempty"` LearningPercentage *int `json:"learningPercentage,omitempty"` + HostName string `json:"hostName,omitempty"` }