Results (17)
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/var/run/docker.sock' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/var/run/docker.sock' mounted
90
hostPath:
91
path: /var/run/docker.sock
92 type:
Socket
Expected: Resource name
'health-check-deployment' of kind 'Deployment' in a non kube-system namespace 'default'
should not have hostPath '/var/run/docker.sock' mounted
Found: Resource name 'health-check-deployment' of kind 'Deployment'
in a non kube-system namespace 'default' has a hostPath '/var/run/docker.sock'
mounted
31
hostPath:
32
path: /var/run/docker.sock
33 type:
Socket
Expected: Resource name
'health-check-deployment' of kind 'Deployment' in a non kube-system namespace 'default'
should not have hostPath '/var/run/docker.sock' mounted
Found: Resource name 'health-check-deployment' of kind 'Deployment'
in a non kube-system namespace 'default' has a hostPath '/var/run/docker.sock'
mounted
31
hostPath:
32
path: /var/run/docker.sock
33---
Expected: Resource name
'kube-bench-master' of kind 'Job' in a non kube-system namespace 'default' should not
have hostPath '/var/lib/etcd' mounted
Found: Resource name 'kube-bench-master' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/var/lib/etcd' mounted
35
hostPath:
36
path: "/var/lib/etcd"
37 - name:
etc-kubernetes
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/usr/lib/systemd' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/usr/lib/systemd' mounted
75
hostPath:
76
path: /usr/lib/systemd
77 - name:
etc-vol
Expected: Resource name
'system-monitor-deployment' of kind 'Deployment' in a non kube-system namespace
'default' should not have hostPath '/' mounted
Found: Resource name 'system-monitor-deployment' of kind 'Deployment'
in a non kube-system namespace 'default' has a hostPath '/' mounted
28
hostPath:
29
path: /
30
containers:
Expected: Resource name
'kube-bench-master' of kind 'Job' in a non kube-system namespace 'default' should not
have hostPath '/usr/bin' mounted
Found: Resource name 'kube-bench-master' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/usr/bin' mounted
41
hostPath:
42
path: "/usr/bin"
43
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/usr/bin/runc' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/usr/bin/runc' mounted
87
hostPath:
88
path: /usr/bin/runc
89 - name:
docker-sock-volume
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/usr/bin/containerd' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/usr/bin/containerd' mounted
84
hostPath:
85
path: /usr/bin/containerd
86 - name:
usr-bin-runc-vol
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/etc' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/etc' mounted
78
hostPath:
79
path: /etc
80 - name:
lib-systemd-system-vol
Expected: Resource name
'kube-bench-node' of kind 'Job' in a non kube-system namespace 'default' should not have
hostPath '/etc/systemd' mounted
Found: Resource name 'kube-bench-node' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/etc/systemd' mounted
36
hostPath:
37
path: "/etc/systemd"
38 - name:
etc-kubernetes
Expected: Resource name
'kube-bench-node' of kind 'Job' in a non kube-system namespace 'default' should not have
hostPath '/usr/bin' mounted
Found: Resource name 'kube-bench-node' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/usr/bin' mounted
42
hostPath:
43
path: "/usr/bin"
44
Expected: Resource name
'kube-bench-master' of kind 'Job' in a non kube-system namespace 'default' should not
have hostPath '/etc/kubernetes' mounted
Found: Resource name 'kube-bench-master' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/etc/kubernetes' mounted
38
hostPath:
39
path: "/etc/kubernetes"
40 - name:
usr-bin
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/lib/systemd/system' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/lib/systemd/system' mounted
81
hostPath:
82
path: /lib/systemd/system
83 - name:
usr-bin-contained-vol
Expected: Resource name
'docker-bench-security' of kind 'DaemonSet' in a non kube-system namespace 'default'
should not have hostPath '/var/lib' mounted
Found: Resource name 'docker-bench-security' of kind 'DaemonSet' in a
non kube-system namespace 'default' has a hostPath '/var/lib' mounted
72
hostPath:
73
path: /var/lib
74 - name:
usr-lib-systemd-vol
Expected: Resource name
'kube-bench-node' of kind 'Job' in a non kube-system namespace 'default' should not have
hostPath '/etc/kubernetes' mounted
Found: Resource name 'kube-bench-node' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/etc/kubernetes' mounted
39
hostPath:
40
path: "/etc/kubernetes"
41 - name:
usr-bin
Expected: Resource name
'kube-bench-node' of kind 'Job' in a non kube-system namespace 'default' should not have
hostPath '/var/lib/kubelet' mounted
Found: Resource name 'kube-bench-node' of kind 'Job' in a non
kube-system namespace 'default' has a hostPath '/var/lib/kubelet' mounted
33
hostPath:
34
path: "/var/lib/kubelet"
35 - name:
etc-systemd