turbot/kubernetes_compliance

Control: PodTemplate containers should has security context defined

Description

This check ensures that the container in a PodTemplate definition has security context defined.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.pod_template_container_security_context_exists

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

pod_template_container_security_context_exists

Tags