Control: GKE clusters intra node visibility should be enabled
Description
This control ensures that GKE clusters intra node visibility is enabled. This control is non-complaint if intra node visibility is disabled.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.kubernetes_cluster_intra_node_visibility_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.kubernetes_cluster_intra_node_visibility_enabled --share
SQL
This control uses a named query:
select self_link resource, case when (network_config -> 'EnableIntraNodeVisibility')::bool then 'ok' else 'alarm' end as status, case when (network_config -> 'EnableIntraNodeVisibility')::bool then title || ' intra node visibility enabled.' else title || ' intra node visibility disabled.' end as reason , location as location, project as projectfrom gcp_kubernetes_cluster;