Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DockerSocketMounted occurs when a container has Docker socket mounted
DockerSocketMounted = "DockerSocketMounted"
)
View Source
const DockerSocketPath = "/var/run/docker.sock"
DockerSocketPath is the mount path of the Docker socket
View Source
const Name = "mountds"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerSockMounted ¶
type DockerSockMounted struct{}
DockerSockMounted implements Auditable
func New ¶
func New() *DockerSockMounted
func (*DockerSockMounted) Audit ¶
func (limits *DockerSockMounted) Audit(resource k8stypes.Resource, _ []k8stypes.Resource) ([]*kubeaudit.AuditResult, error)
Audit checks that the container does not have the Docker socket mounted
Click to show internal directories.
Click to hide internal directories.