turbot/kubernetes_compliance

Control: Pod containers ports should not have host port specified

Description

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

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.pod_container_host_port_not_specified

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

pod_container_host_port_not_specified

Tags