turbot/kubernetes_compliance

Control: Pod containers should have security context

Description

This check ensures that the container in the Pod has security context defined.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.pod_container_security_context_exists

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run kubernetes_compliance.control.pod_container_security_context_exists --share

SQL

This control uses a named query:

pod_container_security_context_exists

Tags