mountds

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL