Skip to content

Commit

Permalink
feat: support node-collector commands and node info
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed May 30, 2024
1 parent d25663b commit 2c09386
Show file tree
Hide file tree
Showing 46 changed files with 91 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0061

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0060

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0068

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0066

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0067

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0049

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0048

import data.lib.kubernetes
Expand Down
2 changes: 2 additions & 0 deletions checks/kubernetes/cisbenchmarks/cni/pod_spec_ownership.rego
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0057

import data.lib.kubernetes
Expand Down
2 changes: 2 additions & 0 deletions checks/kubernetes/cisbenchmarks/cni/pod_spec_permission.rego
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0056

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0065

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0064

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0051

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0050

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0059

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0058

import data.lib.kubernetes
Expand Down
2 changes: 2 additions & 0 deletions checks/kubernetes/cisbenchmarks/etcd/pod_spec_ownership.rego
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0055

import data.lib.kubernetes
Expand Down
2 changes: 2 additions & 0 deletions checks/kubernetes/cisbenchmarks/etcd/pod_spec_permission.rego
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0054

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0076

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0075

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0079

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0080

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0081

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0074

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0073

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0078

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0077

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0087

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0086

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0084

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0092

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0083

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0082

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0090

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0091

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0085

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0088

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0089

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0070

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0069

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0072

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0071

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0053

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0052

import data.lib.kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# input:
# selector:
# - type: kubernetes
# subtypes:
# - kind: nodeInfo
package builtin.kubernetes.KCV0063

import data.lib.kubernetes
Expand Down
Loading

0 comments on commit 2c09386

Please sign in to comment.