turbot/steampipe-mod-kubernetes-compliance

Benchmark: 5.7.2 Ensure that the seccomp profile is set to docker/default in your Pod definitions

Description

Enable docker/default seccomp profile in your pod definitions.

Seccomp (secure computing mode) is used to restrict the set of system calls applications can make, allowing cluster administrators greater control over the security of workloads running in the cluster. Kubernetes disables seccomp profiles by default for historical reasons. You should enable it to ensure that the workloads have restricted actions available within the container.

Remediation

Use security context to enable the docker/default seccomp profile in your pod definitions.

References

  1. https://kubernetes.io/docs/tutorials/clusters/seccomp/
  2. https://docs.docker.com/engine/security/seccomp/