Benchmark: 5.3 Network Policies and CNI
Overview
This section contains recommendations for Network Policies and the Container Network Interface (CNI). It recommends implementing Network Policies ensuring that only authorized connections are allowed.
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.3 Network Policies and CNI.
Run this benchmark in your terminal:
powerpipe benchmark run kubernetes_compliance.benchmark.cis_v170_5_3
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run kubernetes_compliance.benchmark.cis_v170_5_3 --share