For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

GCP Kubernetes Engine Clusters have binary authorization disabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_GCP_66

Category - Subcategory

Kubernetes - Native Security Controls

Provider

GCP

Severity

LOW

Framework

Terraform, Terraform Plan

Mapped CSPM/KSPM Rule

7073068c-5abc-454a-b176-2ef92f09dff0

Impact

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.

How to Fix

Resource: google_container_cluster

  • Arguments: enable_binary_authorization [source,go]


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 ", }


Last updated

Was this helpful?