turbot/kubernetes_compliance

Control: StatefulSet containers ports should not have host port specified

Description

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

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.statefulset_container_host_port_not_specified

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

statefulset_container_host_port_not_specified

Tags