From a46301ea00ab2b24f7794fe26c5c277492d562de Mon Sep 17 00:00:00 2001 From: Florian Bacher Date: Mon, 19 Jul 2021 12:47:47 +0200 Subject: [PATCH] feat: Added LastSeen property to Uniform Integration (#4615) Signed-off-by: Florian Bacher --- pkg/api/models/uniform.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/api/models/uniform.go b/pkg/api/models/uniform.go index 92c04cff..8ed693d1 100644 --- a/pkg/api/models/uniform.go +++ b/pkg/api/models/uniform.go @@ -5,6 +5,7 @@ import ( "encoding/hex" "encoding/json" "fmt" + "time" ) type Integration struct { @@ -20,6 +21,7 @@ type MetaData struct { DistributorVersion string `json:"distributorversion" bson:"distributorversion"` Location string `json:"location" bson:"location"` KubernetesMetaData KubernetesMetaData `json:"kubernetesmetadata" bson:"kubernetesmetadata"` + LastSeen time.Time `json:"lastseen" bson:"lastseen"` } type Subscription struct {