An enterprise organization is establishing a secure continuous integration and continuous delivery (CI/CD) pipeline on Google Cloud to deploy containerized applications to Google Kubernetes Engine (GKE) under strict Binary Authorization compliance policies. Arrange the operational pipeline stages in the correct chronological order from the initial developer code check-in to successful pod scheduling in the cluster.
- 1Developer pushes source code to the version control repository, which automatically triggers a Cloud Build workflow execution via a repository webhook.
- 2Cloud Build executes automated unit testing and builds the container image within an isolated worker pool environment.
- 3Cloud Build pushes the built image to Artifact Registry, where Container Analysis automatically conducts vulnerability scanning against known CVE databases.
- 4An automated Cloud Build step verifies that Container Analysis detected zero critical vulnerabilities and requests a signature from a dedicated Cloud KMS key to generate an attestor signature.
- 5The GKE cluster admitter validates the image digest against the Binary Authorization policy to confirm the presence of a valid attestor signature prior to deployment.
Cevap
The correct operational sequence for a secure GKE CI/CD pipeline starts with the developer code commit triggering Cloud Build, followed by image creation and unit testing, uploading the image to Artifact Registry for automated Container Analysis vulnerability scanning, cryptographically signing the image via Cloud KMS to create a Binary Authorization attestation, and finally evaluating the attestation at the GKE admission controller during pod deployment.
A secure GCP continuous deployment pipeline enforces supply chain security in a strict linear sequence: Source Code Repository Trigger -> Automated Compilation & Unit Testing -> Artifact Storage & Vulnerability Scanning -> Policy Attestation Signature via Cloud KMS -> Runtime Enforcement at GKE Admission.
Adım Adım Çözüm
Anahtar Kavram
End-to-End Secure Software Supply Chain Integration with Cloud Build, Artifact Registry, Container Analysis, and Binary Authorization