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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
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
자주 묻는 질문
승인 없이 리소스를 바꾸나요?
아닙니다. 항상 계획을 보여 주고 어떤 변경이든 실행하기 전에 승인을 요청합니다.
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.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.