turbot/kubernetes_compliance

Control: Network policies should not have a default policy to allow all egress traffic

Description

Administrators should use a default policy selecting all Pods to deny all ingress and egress traffic and ensure any unselected Pods are isolated. An 'allow all' policy would override this default and should not be used. Instead, use specific policies to relax these restrictions only for permissible connections.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.network_policy_default_dont_allow_egress

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

network_policy_default_dont_allow_egress

Tags