thebook icon indicating copy to clipboard operation
thebook copied to clipboard

Links and resources for the O'Reilly Kubernetes Security book

Kubernetes Security

The book is expected to be published by fall 2018. Here are the links:

  • Building container images
  • Running containers
  • Authentication and authorization
  • Communication
  • Apps
  • Securing the control plane
  • References

Building container images

Tooling:

  • https://docs.docker.com/docker-cloud/builds/image-scan/
  • https://github.com/coreos/clair
  • https://www.open-scap.org/tools/
  • https://www.aquasec.com/use-cases/continuous-image-assurance/
  • https://neuvector.com/container-compliance-auditing-solutions/
  • https://github.com/theupdateframework/notary
  • https://github.com/in-toto

Further reading:

Running containers

Tooling:

  • https://github.com/aquasecurity/kube-bench
  • https://github.com/docker/docker-bench-security
  • https://sysdig.com/opensource/falco/
  • https://kubesec.io/
  • https://www.twistlock.com/
  • https://github.com/genuinetools/bane

Further reading:

Authentication and authorization

Tooling:

  • https://github.com/coreos/dex
  • https://github.com/liggitt/audit2rbac
  • https://github.com/heptio/authenticator

Further reading:

Communication

Tooling:

  • https://github.com/aporeto-inc/trireme-kubernetes
  • https://github.com/jetstack/cert-manager/
  • https://spiffe.io/
  • https://www.openpolicyagent.org/

Further reading:

Apps

Tooling:

  • https://github.com/kelseyhightower/konfd
  • https://github.com/hashicorp/vault-plugin-auth-kubernetes
  • https://github.com/bitnami-labs/sealed-secrets
  • https://github.com/shyiko/kubesec
  • https://github.com/weaveworks/flux

Further reading:

Securing the control plane

Tooling:

  • https://github.com/bgeesaman/kubeatf
  • https://github.com/Shopify/kubeaudit
  • https://k8guard.github.io/

Further reading:

References

Kubernetes (v1.10) docs references relevant to security:

Useful kubectl commands:

  • kubectl create secret
  • kubectl create serviceaccount
  • kubectl create role
  • kubectl create rolebinding
  • kubectl auth can-i