4.6.2 Ensure that the seccomp profile is set to RuntimeDefault in the pod definitions

Information

Enable RuntimeDefault seccomp profile in the pod definitions.

Rationale:

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. It should be enabled to ensure that the workloads have restricted actions available within the container.

Impact:

If the RuntimeDefault seccomp profile is too restrictive for you, you would have to create/manage your own Localhost seccomp profiles.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Use security context to enable the RuntimeDefault seccomp profile in your pod definitions. An example is as below:

securityContext:
seccompProfile:
type: RuntimeDefault

Default Value:

By default, seccomp profile is set to unconfined which means that no seccomp profiles are enabled.

See Also

https://workbench.cisecurity.org/benchmarks/13178

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|5.2

Plugin: GCP

Control ID: 425a6cd0cfa027cbf9f34e72130af40896ac352083be8e4ce5893ddd9a0b6d1a