turbot/steampipe-mod-kubernetes-compliance

Benchmark: 5.2 Pod Security Policies

Description

A Pod Security Policy (PSP) is a cluster-level resource that controls security settings for pods. Your cluster may have multiple PSPs. You can query PSPs with the following `kubectl get psp`. PodSecurityPolicies are used in conjunction with the PodSecurityPolicy admission controller plugin.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-kubernetes-compliance

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select 5.2 Pod Security Policies.

Run this benchmark in your terminal:

powerpipe benchmark run kubernetes_compliance.benchmark.cis_kube_v120_v100_5_2

Snapshot and share results via Turbot Pipes:

powerpipe benchmark run kubernetes_compliance.benchmark.cis_kube_v120_v100_5_2 --share

Controls

Tags