turbot/kubernetes_compliance

Control: PodTemplate containers ports should not have host port specified

Description

This check ensures that the container ports in the PodTemplate do not have host port specified.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.pod_template_container_host_port_not_specified

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

pod_template_container_host_port_not_specified

Tags