본문으로 건너뛰기
Skillpedia
보안22k · #10315

google-cloud-scc-remediation

하는 일

이 스킬은 Google Cloud가 표시한 보안 문제를 어떻게 고칠지 계획합니다. 발견 항목마다 신중하고 승인된 수정을 원하는 보안 팀과 클라우드 팀을 위한 스킬입니다.

사용하는 경우

  • ✓Google Cloud의 Security Command Center 발견 항목을 고치고 싶을 때.
  • ✓공격 경로나 위험 조합을 완화해야 할 때.
  • ✓변경 전에 검증과 롤백 단계가 포함된 수정 계획이 필요할 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-remediation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-remediation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“공개된 스토리지 버킷에 대한 Security Command Center 발견 항목을 고쳐 주세요. 먼저 계획을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

정확한 명령이나 설정 차이가 담긴 구조화된 수정 계획을 보여 주고 승인을 기다립니다. 동의한 뒤에는 대상 프로젝트를 명시적으로 지정해 변경을 실행하며, 검증과 롤백 단계를 포함합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 gcloud account and project match the project of the finding's resource. Every mutating command MUST specify the target explicitly, with --project or a full resource path, rather than relying on the default gcloud project.

  • 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 ... describe or list), 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

자주 묻는 질문

승인 없이 리소스를 바꾸나요?

아닙니다. 항상 계획을 보여 주고 어떤 변경이든 실행하기 전에 승인을 요청합니다.

IAM 수정도 다루나요?

네. IAM 권한 수정, 잘못된 설정, 취약점, 위험 조합을 다룹니다.

잘못된 프로젝트를 바꾸는 것을 어떻게 막나요?

변경을 실행하기 전에 활성 계정과 프로젝트가 발견 항목의 리소스와 일치하는지 확인합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
22k
순위
#10315
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬