turbot/azure_compliance

Control: Kubernetes cluster pod hostPath volumes should only use allowed host paths

Description

Limit pod HostPath volume mounts to the allowed host paths in a Kubernetes Cluster. This policy is generally available for Kubernetes Service (AKS), and Azure Arc enabled Kubernetes. For more information, see https://aka.ms/kubepolicydoc.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.kubernetes_cluster_pod_host_path_volume_use_allowed_host_path

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.kubernetes_cluster_pod_host_path_volume_use_allowed_host_path --share

SQL

This control uses a named query:

manual_control

Tags