Skip to content

Commit

Permalink
add cluster API version + cloud provider to structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Bezalel Brandwine committed Oct 20, 2021
1 parent 31f9fbf commit 83fb4bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reporthandling/datastructures.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"time"

"github.com/armosec/armoapi-go/armotypes"
"k8s.io/apimachinery/pkg/version"
)

type AlertScore float32
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit 83fb4bc

Please sign in to comment.