Control: Check that legacy metadata endpoints are disabled on Kubernetes clusters(disabled by default since GKE 1.12+)
Description
This control checks that legacy metadata endpoints are disabled on Kubernetes clusters(disabled by default since GKE 1.12+).
Usage
Run the control in your terminal:
powerpipe control run terraform_gcp_compliance.control.kubernetes_cluster_legacy_endpoints_disabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_gcp_compliance.control.kubernetes_cluster_legacy_endpoints_disabled --share
SQL
This control uses a named query:
kubernetes_cluster_legacy_endpoints_disabled