turbot/kubernetes_compliance

Control: Deployment containers ports should not have host port specified

Description

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

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.deployment_container_host_port_not_specified

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

deployment_container_host_port_not_specified

Tags