Skip to content

Commit de6e5d9

Browse files
authored
Merge pull request #62 from magnologan/k8s
Update K8s object attributes
2 parents 1e22883 + db3c23c commit de6e5d9

File tree

2 files changed

+74
-3
lines changed

2 files changed

+74
-3
lines changed

extensions/aws/dictionary.json

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@
4242
"object_type": "certificate",
4343
"type": "object_t"
4444
},
45+
"cluster_name": {
46+
"description": "The name for the container cluster",
47+
"name": "Cluster Name",
48+
"type": "string_t"
49+
},
4550
"cluster_uid": {
4651
"description": "The unique identifer for the container cluster",
47-
"name": "cluster_uid",
52+
"name": "Cluster UID",
4853
"type": "string_t"
4954
},
5055
"configuration": {
@@ -214,13 +219,23 @@
214219
"object_type": "network_traffic",
215220
"type": "object_t"
216221
},
222+
"node_name": {
223+
"description": "The Name of the Node inside the Kubernetes cluster",
224+
"name": "Node Name",
225+
"type": "string_t"
226+
},
227+
"node_ip": {
228+
"description": "The IP of the Node inside the Kubernetes cluster",
229+
"name": "Node IP",
230+
"type": "string_t"
231+
},
217232
"not_after": {
218-
"description": "A TLS certificate's validty period",
233+
"description": "The maximum TLS certificate's validty period",
219234
"name": "Not After",
220235
"type": "string_t"
221236
},
222237
"not_before": {
223-
"description": "A TLS certificate's validty period",
238+
"description": "The minimum TLS certificate's validty period",
224239
"name": "Not Before",
225240
"type": "string_t"
226241
},
@@ -246,6 +261,26 @@
246261
"name": "PEM",
247262
"type": "string_t"
248263
},
264+
"pod_uid": {
265+
"description": "The unique ID of the pod inside the Kubernetes cluster",
266+
"name": "Pod ID",
267+
"type": "string_t"
268+
},
269+
"pod_ip": {
270+
"description": "The IP of the pod inside the Kubernetes cluster",
271+
"name": "Pod IP",
272+
"type": "string_t"
273+
},
274+
"pod_name": {
275+
"description": "The name of the pod inside the Kubernetes cluster",
276+
"name": "Pod Name",
277+
"type": "string_t"
278+
},
279+
"pod_namespace": {
280+
"description": "The Namespace where the pod is located inside the Kubernetes cluster",
281+
"name": "Pod Name",
282+
"type": "string_t"
283+
},
249284
"redirect_url": {
250285
"description": "The URL specified for redirection by the LB",
251286
"name": "redirect_url",

extensions/aws/objects/kubernetes.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,42 @@
3838
"stage_timestamp": {
3939
"description": "Time the request reached current audit stage",
4040
"requirement": "required"
41+
},
42+
"pod_name": {
43+
"description": "The name of the pod inside the Kubernetes cluster",
44+
"requirement": "optional"
45+
},
46+
"pod_uid": {
47+
"description": "The ID of the pod inside the Kubernetes cluster",
48+
"requirement": "optional"
49+
},
50+
"pod_ip": {
51+
"description": "The IP of the pod inside the Kubernetes cluster",
52+
"requirement": "optional"
53+
},
54+
"pod_namespace": {
55+
"description": "The Namespace where the pod is located inside the Kubernetes cluster",
56+
"requirement": ""
57+
},
58+
"container": {
59+
"description": "The Container object inside the pod in a Kubernetes cluster",
60+
"requirement": "optional"
61+
},
62+
"cluster_uid": {
63+
"description": "The ID of the Kubernetes cluster",
64+
"requirement": "recommended"
65+
},
66+
"cluster_name": {
67+
"description": "The Name of the Kubernetes cluster",
68+
"requirement": "recommended"
69+
},
70+
"node_name": {
71+
"description": "The Name of the Node inside the Kubernetes cluster",
72+
"requirement": "recommended"
73+
},
74+
"node_ip": {
75+
"description": "The IP of the Node inside the Kubernetes cluster",
76+
"requirement": "recommended"
4177
}
4278
}
4379
}

0 commit comments

Comments
 (0)