Benchmark: 5.7 General Policies
Overview
These policies relate to general cluster management topics, like namespace best practices and policies applied to pod objects in the cluster.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-kubernetes-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select 5.7 General Policies.
Run this benchmark in your terminal:
powerpipe benchmark run kubernetes_compliance.benchmark.cis_v170_5_7
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run kubernetes_compliance.benchmark.cis_v170_5_7 --share
Benchmarks
- 5.7.2 Ensure that the seccomp profile is set to docker/default in your Pod definitions
- 5.7.4 The default namespace should not be used