Google cloud waf security

From google/skills · View interactive version

Google cloud waf security is an AI agent skill from the GitHub repository google/skills. Evaluates Google Cloud workloads and provides actionable recommendations for identity management, access control, permissions and roles, network and perimeter security, data security and encryption, security logging and threat detection, software supply chain hardening, AI security, data privacy, re

How to use this skill

Skill file

Google Cloud Well-Architected Framework skill for the Security, Privacy, and Compliance pillar

Usage attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you

MUST read and follow the instructions in

Usage Attribution.

Overview

The Security, Privacy, and Compliance pillar of the Google Cloud

Well-Architected Framework provides design principles and recommendations for

building a robust security posture by integrating security into every layer of

the architecture of your cloud workloads. It helps you maintain the

confidentiality and integrity of data and systems while ensuring compliance and

privacy. It provides a structured approach to risk management, threat defense,

and identity control, enabling you to operate cloud workloads securely and at

scale.

Workflow

When this skill is activated, follow these steps to evaluate and improve the

security posture of the specified Google Cloud workload:

  1. Understand the context: Ask targeted questions from the **Workload

assessment questions** list to gather information about the user's current

architecture, security requirements, and constraints.

  1. Analyze and identify gaps: Evaluate the workload against the **Core

principles and the Validation checklist** to identify security

vulnerabilities, missing controls, or deviations from best practices.

  1. Formulate recommendations: Provide actionable, prioritized guidance

based on the Google Cloud Well-Architected Framework. Recommend specific

products from Relevant Google Cloud products to address the identified

gaps.

  1. Explain the recommendations: Align all recommendations with the

appropriate Core principles and state the benefits that each

recommendation provides.

  1. Iterate and refine: Help the user adapt the recommendations to their

specific requirements and constraints.

Core principles

The recommendations in the security pillar of the Well-Architected Framework

are aligned with the following core principles:

secure your workloads, build a layered security approach, and use hardened

and attested infrastructure and services. Google Cloud encrypts data at rest

and in transit by default; layer customer-managed or customer-supplied

encryption keys (CMEK or CSEK) in Cloud KMS, VPC Service Controls

perimeters, and Sensitive Data Protection for sensitive workloads. Grounding

document:

https://docs.cloud.google.com/architecture/framework/security/implement-security-by-design.md.txt

Authenticate and authorize every user, device, and workload request

explicitly using identity, MFA, and device/location context; enforce least

privilege and separation of duties; segment networks and private service

paths; and continuously monitor network flows and audit logs.

Grounding document:

https://docs.cloud.google.com/architecture/framework/security/implement-zero-trust.md.txt

software development lifecycle. Avoid security defects before system changes

are made. Detect and fix security bugs early, fast, and reliably after the

system changes are committed. Google Cloud supports this principle through

products like Cloud Build, Binary Authorization, and Artifact Registry.

Grounding document:

https://docs.cloud.google.com/architecture/framework/security/implement-shift-left-security.md.txt

framework for cyber defense (Intelligence, Detect and Respond, Validate,

Hunt, and Mission Control) based on your current cloud maturity, resource

topology, and specific threat landscape. Validate and improve your

defenses continuously. Grounding document:

https://docs.cloud.google.com/architecture/framework/security/implement-preemptive-cyber-defense.md.txt

(SAIF) alongside AI governance principles (fairness, transparency,

accountability, privacy, and security).

keep data secure and prevent loss or mishandling, keep AI pipelines

secure and robust against tampering, deploy apps on secure systems using

secure tools and artifacts, and protect and monitor inputs.

explainability tools, track data lineage, establish clear

accountability, and implement differential privacy.

Grounding documents:

https://docs.cloud.google.com/architecture/framework/security/use-ai-securely-and-responsibly.md.txt

and

https://docs.cloud.google.com/architecture/framework/perspectives/ai-ml/security.md.txt

simplify security for experts and non-experts, automate time-consuming

security tasks with AI, incorporate AI into risk management and governance

processes, and implement secure development practices for AI systems.

Grounding document:

https://docs.cloud.google.com/architecture/framework/security/use-ai-for-security.md.txt

organizational risks, automate implementation of compliance requirements

and monitor compliance, manage operational and software sovereignty, and

control data residency, classify confidential data, and protect sensitive

data. Grounding document:

https://docs.cloud.google.com/architecture/framework/security/meet-regulatory-compliance-and-privacy-needs.md.txt

division between security of the cloud (owned by Google: physical security

of data centers, hardware, hypervisors, core networking, and storage, and

inherited controls like default encryption) and security in the cloud

(owned by you: data, access policies, and workload-specific configurations

shaped by your requirements and industry regulations), reinforced by

Google's active Shared Fate partnership (attested blueprints and Risk

Protection Program). Customer operational responsibility varies by service

model—it is greater in IaaS (such as patching guest OSs on Compute Engine

VMs) than in managed PaaS or serverless services (such as Cloud Run).

Grounding document:

https://docs.cloud.google.com/architecture/framework/security/shared-responsibility-shared-fate.md.txt

Relevant Google Cloud products

The following are _examples_ of Google Cloud products and features that are

relevant to security:

federation.

Google Cloud resources.

without public IP addresses or a VPN.

over-privileged access.

network traffic.

sensitive data.

management.

data-access activity and log-based alerts for unauthorized access events.

Workload assessment questions

Ask appropriate questions to understand the security-related requirements and

constraints of the workload and the user's organization. Choose questions from

the following list:

planning and design phases?

and services?

lifecycle?

design phase?

the design and development process?

infrastructure?

and stakeholders?

across your environments?

measures?

design?

Cloud resources?

environment?

environment?

activity?

Trust environment?

environment?

your Zero Trust principles?

environment?

practices?

in the process?

best practices?

communicated to developers?

initiatives?

code?

environment?

policies in development?

developers?

before they impact your systems?

analysis?

vulnerabilities?

services?

persistent threats (APTs)?

poisoning?

AI and ML?

models?

use of AI and ML?

systems?

security systems?

infrastructure?

security applications?

purposes?

posture?

adhere to?

environment?

Google Cloud?

regulations?

regulatory and privacy requirements?

regulations?

standards?

privacy requirements?

Validation checklist

Use the following checklist to evaluate the architecture's alignment with

security recommendations:

hardening?

layers?

vulnerabilities?

lifecycles and federation?

location)?

traffic?

(e.g., Terraform)?

dependencies?

appropriate?

governance?

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.