Automation & Ops ✓ Google · Official gkekubernetes-securityworkload-identitynetwork-policiesgvisorpod-securitysecret-manager-csi

GKE Workload Security

Audit and harden workload-level security controls for GKE applications and namespaces.

FollowSkills review · FSRS-2.0
Not recommended
48/ 100 5-point scale 2.4 / 5
Trust13 / 25 · 2.6/5

The skill covers Workload Identity, network isolation, read-only secret mounts, and least-privilege guidance, with no malware or covert exfiltration indicators; however, several commands directly mutate a cluster without explicit per-action confirmation or rollback, and the operational impact of default-deny policies and namespace labeling is not fully disclosed, so points are deducted.

Reliability8 / 20 · 2.0/5

The audit script has argument checks, set -e, and pipefail, and prerequisites name gcloud and jq; however, there are no committed tests or abnormal-case demonstrations. The workload identity example sets automountServiceAccountToken to false, which may impair reproduction, and failure diagnostics and environment prerequisites are limited. Static calibration therefore keeps this at 8.

Adaptability9 / 15 · 3.0/5

Invocation scenarios, covered areas, and non-fit areas are relatively clear, spanning audits, identity, network policy, sandboxing, Pod Security, and CSI; however, input/output contracts, version compatibility boundaries, Chinese-language support, and mainland-China network considerations are absent, and some controls depend on specific GKE configurations, warranting deductions.

Convention9 / 15 · 3.0/5

The documentation is organized by workflow and includes scripts, YAML assets, prerequisites, examples, official resources, and repository-level Apache-2.0 licensing and installation guidance; however, the skill lacks its own versioning, changelog, explicit maintenance owner, troubleshooting section, and update path, while some dependencies remain underspecified.

Effectiveness6 / 15 · 2.0/5

The audit script and several directly usable commands/manifests cover core security configuration tasks and provide practical value; however, complete verification, policy exception handling, rollback, and production adaptation guidance are missing. Default-deny enforcement may require substantial additional configuration, so the static score remains conservative.

Verifiability3 / 10 · 1.5/5

The skill provides auditable source code, a pinned image digest, configuration assets, and official documentation references, enabling limited source review; however, it contains no CI, test suite, execution results, or third-party reproduction evidence, so key paths are not independently verifiable.

Evidence confidence:Low Reviewed Jul 28, 2026 Reviewed revision d1c9be2009ba
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Before running gcloud, kubectl, or namespace-label commands, confirm the target cluster, region, project, change window, and recovery procedure.
  • A default-deny network policy can interrupt existing ingress, egress, DNS, or cross-namespace traffic; inventory dependencies and roll out incrementally.
  • Validate automountServiceAccountToken=false in the Workload Identity example, the Secret Manager CSI prerequisite, and GKE version compatibility in the target environment.
  • The documentation does not address mainland-China reachability, proxies, or enterprise network requirements; confirm access paths before relying on Google Cloud services and documentation.
Review evidence [1][2][3][4][5][6][7]
See the full review method →

What does this skill do, and when should you use it?

This skill provides operational workflows for securing Google Kubernetes Engine workloads across identity, networking, pod isolation, pod security, and secret mounting. It can run a cluster audit script and configure Workload Identity Federation, Network Policies, GKE Sandbox, Pod Security Standards, and Secret Manager CSI volumes. It explicitly excludes control-plane security, RBAC hardening, Binary Authorization, Shielded Nodes, and platform-level GKE add-ons. It fits teams that can execute authenticated gcloud, kubectl, and local shell commands against a GKE environment.

Runs scripts/audit_cluster.sh to check Workload Identity, Network Policy, Shielded Nodes, Binary Authorization, and private-cluster configuration; creates namespaces and Kubernetes Service Accounts and binds and annotates Google Service Accounts; enables or applies Network Policies and Dataplane V2 NetworkLogging; sets runtimeClassName: gvisor for sandboxed Pods; enforces the restricted Pod Security Standard through namespace labels; and supplies SecretProviderClass and Pod CSI volume examples for mounting Secret Manager secrets.

  1. A GKE platform engineer needs to audit a cluster's workload security posture with gcloud and jq.
  2. An application team needs a Kubernetes Service Account to access Google Cloud APIs through Workload Identity.
  3. A multi-tenant cluster administrator needs to apply default-deny ingress and egress policies to a namespace.
  4. A security engineer needs to isolate untrusted workloads with GKE Sandbox and enforce the restricted Pod Security Standard.
  5. A DevOps team needs to mount Google Secret Manager values as read-only volumes through the Secret Manager CSI Driver.

What are this skill's strengths and limitations?

Pros
  • Covers practical workload controls for identity, network isolation, pod isolation, pod security, and secret volumes.
  • Includes copyable gcloud, kubectl, YAML, and audit-script examples.
  • Clearly separates workload-level responsibilities from the platform-level scope assigned to gke-platform-security.
  • Includes Dataplane V2 network logging guidance and official Google Cloud resource links.
Limitations
  • Requires an authenticated gcloud CLI, jq, and kubectl; the source does not specify the complete IAM permission set.
  • The source provides no test suite, compatibility matrix, or sample audit output.
  • The Network Policy enablement command is unnecessary and may fail on Dataplane V2 clusters.
  • It does not cover control-plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or platform-level add-on enablement.

How do you install this skill?

Install it as part of the google/skills collection with: npx skills add google/skills. The installer allows selection of individual skills from the repository. The target file is skills/cloud/gke-workload-security/SKILL.md; the README does not document the exact installation directory or a non-interactive selection parameter.

How do you use this skill?

In an Agent Skills-compatible client, request a workload-security task such as: “Audit this GKE cluster and configure Workload Identity and a default-deny Network Policy for the target namespace.” Before running the audit, authenticate the gcloud CLI and install jq; the configuration workflows also use kubectl. The documented Network Policy command is: gcloud container clusters update <cluster-name> --update-addons=NetworkPolicy=ENABLED --region <region>.

How does this skill compare with similar options?

Compared with gke-platform-security, this skill focuses on application, Pod, and namespace controls. The source places platform-level actions such as enabling Shielded Nodes and GKE Sandbox in that separate skill.

FAQ

Does the source specify a cost to use this skill?
No. It documents installation through npx skills add google/skills and states that the collection is available under the Apache 2.0 license, but gives no pricing information.
What prerequisites are explicitly required?
The audit workflow requires an authenticated gcloud CLI and jq. The configuration examples also use kubectl.
Should Network Policy enforcement be enabled separately for Dataplane V2?
No. The source says Dataplane V2 has built-in Network Policy enforcement, so the enablement step is not required and may fail.
Does this replace a cluster platform-security skill?
No. It explicitly excludes control-plane security, RBAC, Binary Authorization, Shielded Nodes, and platform-level GKE add-ons.

More skills from this repository

All from google/skills

Automation & Ops ✓ Google · Official

GKE Platform Security Hardening

Helps platform teams plan and apply cluster-level security hardening for Google Kubernetes Engine.

Automation & Ops ✓ Google · Official

GKE ComputeClasses Advisor

Configure, optimize, and troubleshoot GKE ComputeClasses for cost, capacity, and workload placement.

Automation & Ops ✓ Google · Official

GKE Multi-Tenancy Planner

Plan isolation, quotas, access control, and cost attribution for teams sharing a GKE cluster.

Automation & Ops ✓ Google · Official

GKE Production Readiness Review

Assess whether GKE clusters and workloads are ready for production.

Automation & Ops ✓ Google · Official

GKE Workload Autoscaling

Configure manual scaling, HPA, and VPA for GKE workloads while improving resource requests from observed usage.

Automation & Ops ✓ Google · Official

GKE Workload Reliability Guide

Reduce GKE workload disruption with high-availability configuration.

Automation & Ops ✓ Google · Official

GKE Production Golden Path

Set production-oriented GKE defaults, readiness checks, and decision guardrails for cluster design.

Automation & Ops ✓ Google · Official

GKE Cluster Autoscaler Guide

Configure, optimize, and troubleshoot automatic GKE node scaling.

Automation & Ops ✓ Google · Official

AI Workload Migration to GKE Inference

Move existing AI inference workloads to self-hosted inference on Google Kubernetes Engine.

Automation & Ops ✓ Google · Official

GKE Cluster Creation Advisor

Plan, provision, and audit GKE clusters against production best practices.

Automation & Ops ✓ Google · Official

GKE Cost Optimization

Reduce GKE spending through rightsizing, quotas, Spot VMs, and capacity planning.

Automation & Ops ✓ Google · Official

GKE AI Inference Deployment Assistant

Deploy, tune, and autoscale GPU/TPU AI inference services on GKE.

Automation & Ops ✓ Google · Official

GKE App Onboarding Assistant

Containerize and deploy an application to Google Kubernetes Engine for the first time.

Automation & Ops ✓ Google · Official

GKE Basics Navigator

A focused entry point for discovering GKE cluster needs and routing each task to the right specialist skill.

Automation & Ops ✓ Google · Official

GKE Observability Configuration

Configure GKE logging, monitoring, and Prometheus metrics.

Automation & Ops ✓ Google · Official

GKE Storage Manager

Configure persistent disks, Filestore, and GCS FUSE storage for GKE workloads.

Automation & Ops ✓ Google · Official

GKE Batch & HPC Workloads

Configure and run queued, parallel, and high-performance workloads on GKE.

Automation & Ops ✓ Google · Official

GKE Backup & Disaster Recovery

Configure Backup for GKE policies and restore workflows for stateful workloads.

Automation & Ops ✓ Google · Official

GKE Enterprise RAG Search Architect

Designs and validates enterprise RAG search systems built on GKE and AlloyDB.

Automation & Ops ✓ Google · Official

GKE GPU/TPU Disruption Diagnosis

Diagnose and mitigate GKE GPU/TPU node disruptions caused by host maintenance.

Related skills