implementing-zero-trust-with-beyondcorp
它能做什么
这个工具可以帮你搭建 Google 的 BeyondCorp 安全系统。它不需要依赖专用网络(VPN),而是每次访问时都检查你的身份以及设备是否安全。目标是保护你的应用和数据。
适用场景
- ✓当你想在不使用 VPN 的情况下保护应用时。
- ✓当你需要基于用户身份和设备状态设置访问规则时。
- ✓当你想确保系统的安全性符合合规要求时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-zero-trust-with-beyondcorp/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我设置 BeyondCorp,保护我的网站应用。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会配置 Google 的“身份感知代理”(Identity-Aware Proxy,IAP),对每一次访问进行检查。它会根据用户身份和设备特征(比如操作系统和加密状态)创建规则,定义谁可以访问什么。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implementing Zero Trust with BeyondCorp
Overview
Google BeyondCorp Enterprise implements the zero trust security model by eliminating the concept of a trusted network perimeter. Instead of relying on VPNs and network location, BeyondCorp authenticates and authorizes every request based on user identity, device posture, and contextual attributes. Identity-Aware Proxy (IAP) serves as the enforcement point, intercepting all requests to protected resources and evaluating them against Access Context Manager policies. This skill covers configuring IAP for web applications, defining access levels based on device trust and network attributes, and auditing access policies for compliance.
When to Use
- When deploying or configuring implementing zero trust with beyondcorp capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Google Cloud project with BeyondCorp Enterprise license
- IAP API enabled (iap.googleapis.com)
- Access Context Manager API enabled (accesscontextmanager.googleapis.com)
- GCP resources to protect (Compute Engine, App Engine, or GKE services)
- Endpoint Verification deployed on managed devices
- Python 3.9+ with google-cloud-iap library
Steps
Step 1: Enable IAP on Target Resources
Configure Identity-Aware Proxy on Compute Engine, App Engine, or HTTPS load balancer backends.
Step 2: Define Access Levels
Create Access Context Manager access levels based on IP ranges, device attributes (OS version, encryption, screen lock), and geographic location.
Step 3: Bind Access Policies
Apply access levels as IAP conditions to enforce context-aware access decisions on protected resources.
Step 4: Audit and Monitor
Query IAP audit logs, verify policy enforcement, and identify gaps in zero trust coverage.
Expected Output
JSON report containing IAP-protected resources, access level definitions, policy binding audit results, and zero trust coverage metrics.
常见问题
什么是“零信任”(Zero Trust)?
这是一种安全模型,默认不信任任何东西。每一次访问尝试,哪怕来自内网,都需要经过验证和授权。
什么是“身份感知代理”(Identity-Aware Proxy,IAP)?
这是 Google 的一个工具,像一个数字门卫。它位于你的应用前面,在放行之前,会先验证访问者的身份和权限。
我需要 Google Cloud 项目吗?
需要。你需要一个 Google Cloud 项目,并已开通 BeyondCorp Enterprise 许可证,同时启用必要的 API。
详情
作者的原始描述
Configures Google BeyondCorp Enterprise Identity-Aware Proxy (IAP) as the access enforcement point for web applications, defining Access Context Manager access levels from device trust and network attributes, and auditing the resulting policies for compliance. Use when eliminating perimeter/VPN trust for GCP resources or internal apps, or when setting up identity- and device-posture-based access c
热度
- GitHub 星标
- 35k
- 排名
- #8147
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。