diff --git a/reporthandling/datastructures.go b/reporthandling/datastructures.go index b0649a2b..ef49f702 100644 --- a/reporthandling/datastructures.go +++ b/reporthandling/datastructures.go @@ -4,6 +4,7 @@ import ( "time" "github.com/armosec/armoapi-go/armotypes" + "k8s.io/apimachinery/pkg/version" ) type AlertScore float32 @@ -84,6 +85,8 @@ type RuleStatus struct { type PostureReport struct { CustomerGUID string `json:"customerGUID"` ClusterName string `json:"clusterName"` + ClusterAPIServerInfo *version.Info `json:"clusterAPIServerInfo"` + ClusterCloudProvider string `json:"clusterCloudProvider"` ReportID string `json:"reportID"` JobID string `json:"jobID"` ReportGenerationTime time.Time `json:"generationTime"`