Skip to content

feat(misconf): adapt control_plane_endpoints_config.ip_endpoints_config.enabled for GKE - #11767

Closed
adityagupta26 wants to merge 1 commit into
aquasecurity:mainfrom
adityagupta26:fix/gcp-0061-gke-disabled-ip-endpoints
Closed

adityagupta26 wants to merge 1 commit into
aquasecurity:mainfrom
adityagupta26:fix/gcp-0061-gke-disabled-ip-endpoints

Conversation

@adityagupta26

Copy link
Copy Markdown

Description

Add ControlPlaneEndpointsConfig / IPEndpointsConfig to gke.Cluster in pkg/iac/providers/google/gke/gke.go and adapt control_plane_endpoints_config.ip_endpoints_config.enabled from google_container_cluster in pkg/iac/adapters/terraform/google/gke/adapt.go.

When ip_endpoints_config.enabled is not set, it defaults to true so existing behavior is preserved. When ip_endpoints_config.enabled = false is set, trivy-checks (GCP-0061) can skip the cluster.

Refs #11753

Checklist

…ig.enabled for GKE

Signed-off-by: Aditya Gupta <59690681+adityagupta26@users.noreply.github.com>
@CLAassistant

CLAassistant commented Nov 26, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nikpivkin

Copy link
Copy Markdown
Contributor

Thanks for working on this. We are going with #11769 for #11753. It also regenerates cloud.json, and the GCP-0061 change in aquasecurity/trivy-checks#674 already uses its model. Closing this one.

@nikpivkin nikpivkin closed this Nov 27, 2026
@adityagupta26
adityagupta26 deleted the fix/gcp-0061-gke-disabled-ip-endpoints branch November 27, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants