-
Notifications
You must be signed in to change notification settings - Fork 36
/
pod.go
22 lines (20 loc) · 1.3 KB
/
pod.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package graph
import (
"github.com/DataDog/KubeHound/pkg/kubehound/models/shared"
)
type Pod struct {
StoreID string `json:"storeID" mapstructure:"storeID"`
App string `json:"app" mapstructure:"app"`
Team string `json:"team" mapstructure:"team"`
Service string `json:"service" mapstructure:"service"`
RunID string `json:"runID" mapstructure:"runID"`
Cluster string `json:"cluster" mapstructure:"cluster"`
Name string `json:"name" mapstructure:"name"`
IsNamespaced bool `json:"isNamespaced" mapstructure:"isNamespaced"`
Namespace string `json:"namespace" mapstructure:"namespace"`
ShareProcessNamespace bool `json:"shareProcessNamespace" mapstructure:"shareProcessNamespace"`
ServiceAccount string `json:"serviceAccount" mapstructure:"serviceAccount"`
Node string `json:"node" mapstructure:"node"`
Compromised shared.CompromiseType `json:"compromised" mapstructure:"compromised"`
Critical bool `json:"critical" mapstructure:"critical"`
}