Ensure binary authorization is used

Error: Binary authorization is not used

Bridgecrew Policy ID: BC_GCP_KUBERNETES_21
Checkov Check ID: CKV_GCP_66
Severity: MEDIUM

Binary authorization is not used


Binary Authorization helps to protect supply-chain security by only allowing images with verifiable cryptographically signed metadata into the cluster.

Binary Authorization provides software supply-chain security for images that you deploy to GKE from Google Container Registry (GCR) or another container image registry.

Binary Authorization requires images to be signed by trusted authorities during the development process. These signatures are then validated at deployment time. By enforcing validation, you can gain tighter control over your container environment by ensuring only verified images are integrated into the build-and-release process.

Fix - Buildtime


  • Resource: google_container_cluster
  • Argument: enable_binary_authorization
resource "google_container_cluster" "success" {
  name               = var.name
  location           = var.location
  initial_node_count = 1
  project            = data.google_project.project.name
+ enable_binary_authorization = true