google-cloud-scc-remediation
Skill này làm gì
Skill này lập kế hoạch sửa các vấn đề bảo mật mà Google Cloud đã gắn cờ. Skill dành cho các đội bảo mật và đám mây muốn có một cách sửa cẩn thận, được phê duyệt cho từng phát hiện.
Khi nào nên dùng
- ✓Khi bạn muốn sửa một phát hiện Security Command Center trên Google Cloud.
- ✓Khi bạn cần giảm thiểu một đường tấn công hoặc tổ hợp độc hại.
- ✓Khi bạn muốn một kế hoạch khắc phục có bước kiểm tra và khôi phục trước khi thay đổi bất cứ thứ gì.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-remediation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Sửa phát hiện Security Command Center về bucket lưu trữ công khai của tôi, và cho tôi xem kế hoạch trước.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill trình bày kế hoạch khắc phục có cấu trúc, kèm lệnh chính xác hoặc phần khác biệt cấu hình, rồi chờ bạn phê duyệt. Sau khi bạn đồng ý, skill thực hiện thay đổi với dự án đích được chỉ định rõ, và có bước kiểm tra cùng khôi phục.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google Cloud Security Command Center Remediation
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Overview
A unified remediation skill for Google Cloud Security Command Center findings. It handles both single-domain findings and multi-domain Toxic Combinations.
1. Safety & Consent Gate
Security Command Center remediations modify infrastructure, access policies, or workload deployments.
Mandatory Consent Gate: NEVER execute mutating
gcloud,terraform, or API commands without first presenting a structured remediation plan and the exact command/config diff to the user. STOP after presenting the plan and ALWAYS ask: "Do you approve executing this remediation plan?" before execution. Automatic mutation of security policies or resource configurations can cause unintended outages, lockouts, or compliance violations.Confirm the Target Project: Before executing, confirm that the active
gcloudaccount and project match the project of the finding's resource. Every mutating command MUST specify the target explicitly, with--projector a full resource path, rather than relying on the defaultgcloudproject.Verification & Rollback Required: Every proposed remediation plan MUST explicitly include, for each mutating step:
- the mutating remediation command(s),
- the verification check command(s) (
gcloud ... describeorlist), and - the rollback command(s) that undo the change, or an explicit statement that the step cannot be undone (for example, service account key deletion).
Use the commands from the loaded playbook where they exist. If the playbook lacks a verification or rollback command for a step, derive the command and label it as not sourced from a playbook.
Dependency & Impact Checks: Every remediation plan MUST state what could break as a result of each change and ask the user to confirm nothing depends on it. For example:
- IAM role changes or revocations: you MUST explicitly advise the user to verify cross-project dependencies and CI/CD pipeline workflows that rely on the existing permissions before revoking a project-level role binding.
- Firewall rule changes: other traffic the same rule allows (such as web traffic on ports 80 or 443).
- External IP removal: inbound access and outbound internet access for the VM.
- Public Access Prevention on a bucket: sites or users that legitimately read it publicly.
CRITICAL WORKFLOW RULE: Do NOT execute any mutating commands in the same turn that you present the remediation plan. You MUST end your turn immediately after asking for approval and wait for the user's next message.
- If there is no interactive user (for example, a scheduled or pipeline run), stop at the plan and never execute.
- If the user approves only part of the plan, or the plan changes after approval, present the updated plan and ask for approval again before executing.
Narrowly Scoped Changes: Always propose the narrowest possible fix that resolves the finding. When more than one fix would work, prefer reversible changes over irreversible ones (for example, disable a key before deleting it), resource-level changes over project, folder, or organization-level changes, and changes that affect only the finding's resource over changes that affect other resources. Do not bundle fixes for unrelated issues noticed along the way; mention them to the user separately.
2. Intent Router & Progressive Disclosure
Do not load all reference playbooks into memory at once. Analyze the Security
Command Center finding's category, findingClass, or attack path, then read
ONLY the relevant reference document(s).
Match on the finding's category first, and fall back to findingClass
only when no category matches. Routing on findingClass alone misroutes IAM
findings: Security Health Analytics IAM findings are MISCONFIGURATION class,
and IAM recommender findings are Vulnerability class, so neither would ever
reach the IAM playbook.
| Match On | Values | Target Reference Playbook
Câu hỏi thường gặp
Skill có thay đổi tài nguyên mà không hỏi không?
Không. Skill luôn trình bày kế hoạch và xin phê duyệt trước khi chạy bất kỳ thay đổi nào.
Skill có sửa lỗi IAM không?
Có. Skill xử lý các sửa quyền IAM, cấu hình sai, lỗ hổng và tổ hợp độc hại.
Skill tránh thay đổi nhầm dự án bằng cách nào?
Skill xác nhận tài khoản và dự án đang hoạt động khớp với tài nguyên của phát hiện trước khi chạy thay đổi.
Chi tiết
Mô tả gốc của tác giả
Remediates Google Cloud Security Command Center findings, including IAM permission fixes, cloud resource misconfigurations, vulnerabilities, and Toxic Combinations. Use when asked to fix, remediate, or mitigate a Security Command Center finding or address attack paths. Don't use for general IAM policy querying without a Security Command Center finding. For runtime threat detections, this skill provides containment and investigation guidance rather than automated configuration fixes.
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10315
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.