Legacy ABAC authorization is enabled in GKE

Migrate required access to RBAC before disabling legacy GKE ABAC authorization.

Description

When legacyAbac.enabled is true, authenticated users and workloads can use permissions from legacy ABAC in addition to their Kubernetes RBAC bindings.

Potential impact

A compromised credential with excessive grants can change cluster resources beyond its intended scope.

Remediation

Prepare the IAM permissions and RBAC roles and bindings that existing clients and workloads need. Disable ABAC on the cluster, then test that required operations succeed and unnecessary administrative operations are denied.

Examples

Standard support for Deployment Manager has ended. For new configurations, use a supported tool and supply the location, node and network settings omitted from these request bodies.

Before

yaml
name: my-cluster
legacyAbac:
  enabled: true

my-cluster permits legacy ABAC grants.

After

yaml
name: my-cluster
legacyAbac:
  enabled: false

The same cluster sets legacyAbac.enabled to false. IAM permissions and RBAC bindings are configured separately.

References