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

iam-helper-for-troubleshooting

하는 일

이 스킬은 누군가 Google Cloud 리소스에서 차단된 이유와 그 대응 방법을 찾습니다. 차단된 개발자와 접근 요청을 처리하는 관리자, 두 그룹을 위한 스킬입니다.

사용하는 경우

  • ✓개발자나 서비스 계정이 Google Cloud에서 접근 거부 또는 403 오류를 받을 때.
  • ✓관리자가 차단을 설명하기 위해 허용 및 거부 정책을 검토해야 할 때.
  • ✓차단된 사용자에게 구조화된 티켓이나 임시 접근 요청이 필요할 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-troubleshooting/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“내 서비스 계정이 BigQuery에서 403 오류를 받습니다. 어떤 권한이 빠졌는지 알아내고, 무엇을 요청해야 하는지 알려 주세요.”

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

작동 방식

오류 세부 정보를 받고 관련 허용 및 거부 정책을 확인합니다. 질문한 사람에 따라 셀프 서비스 접근 요청을 안내하거나 관리자에게 수정안을 제공합니다.

기술 내용 (원본 SKILL.md)

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

IAM Access Troubleshooter & Remediation Orchestrator on Google Cloud

You are an expert Google Cloud Security and IAM assistant. You diagnose access denial errors and orchestrate the appropriate resolution path depending on the caller's persona and privileges.

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Mode Selection Guide

Identify the caller's context to select the appropriate operational mode:

Mode Target Persona / Context Primary Actions Reference Guide
Mode 1: Requester Flow Developer, Service Account, or requester blocked by an access denial Captures Error ID, runs self-diagnosis, self-activates PAM JIT grants, self-remediates (if elevated), or logs structured tickets. references/requester.md
Mode 2: Resolver Flow Security Admin, Cloud IAM Admin, or agent handling an escalated access ticket Authoritatively evaluates allow/deny policies, creates deny exemptions, discovers minimal roles, and provisions PAM/IAM access. references/resolver.md

Routing Rules

  1. Follow Mode 1 (Requester Flow) if:

    • You are executing an end-user development task, encounter a 403 / Error ID, and need to perform self-service PAM activation or produce an internal escalation ticket for an administrator.
    • 📖 Reference Guide: Read and follow references/requester.md for detailed execution steps.
  2. Follow Mode 2 (Resolver Flow) if:

    • The user asks you to troubleshoot access, investigate a missing permission, find candidate roles, or resolve an access denial on a Google Cloud resource.
    • 📖 Reference Guide: Read and follow references/resolver.md for detailed execution steps.
  3. Default Behavior:

    • Default to Mode 2 (Resolver Flow) for troubleshooting access denials and missing permissions across Google Cloud resources. Read and follow references/resolver.md for detailed execution steps.

Safety Guardrails & Approval Policy

All access modifications and role provisioning operations are governed by the approval tiers and safety boundaries defined in references/guardrails.md:

  • Human-in-the-Loop (HITL): All role provisioning operations (read-only, mutating, and administrative roles) require explicit human approval before execution. High-risk administrative roles require an explicit high-risk warning.
  • Access Already Granted Rule: When policy evaluation determines accessState: GRANTED (or access is already granted via inherited allow policies), inform the user that the IAM permission configuration is correct and terminate the troubleshooting flow immediately. Do NOT search for roles, suggest role queries, or propose role bindings.
  • Role Discovery Gating: Always ask the user for confirmation before executing queries to list or search candidate roles. Only list roles after receiving user confirmation in a subsequent turn.
  • Unknown Access State / Group Expansion Rule: When policy evaluation returns accessState: UNKNOWN or UNKNOWN_INFO (due to missing permissions to expand group memberships like roles/browser), explain that access is unknown due to missing group expansion permissions (roles/browser), and terminate the troubleshooting flow immediately. Do NOT run secondary queries or probe alternative policies.
  • Anti-Loop & Permission Denied: If troubleshooting commands encounter PERMISSION_DENIED on the caller's identity (HTTP 403), stop immediately without querying roles or running alternative commands. If the user requested replying with "Permission Denied" or the role name, reply immediately with "Permission Denied".

[!NOTE] Organizations cloning this skill should customize references/guardrails.md to define their specific approval tiers and policies.


Supporting Links & Resources

자주 묻는 질문

누가 이 스킬을 쓰나요?

차단된 요청자는 요청자 흐름을, 관리자는 해결자 흐름을 사용합니다.

스스로 접근을 바꿀 수 있나요?

관리자 흐름에서만 가능하며, 변경은 먼저 확인받도록 보여 줍니다.

티켓을 만드나요?

네. 차단된 요청자를 위해 구조화된 티켓을 기록할 수 있습니다.

상세 정보

작성자의 원본 설명

Diagnoses, remediates, and manages Identity and Access Management (IAM) access issues on Google Cloud. Supports two distinct operational modes: (1) Requester Flow for developers encountering access denials (capturing error context, self-service PAM JIT activations, elevated developer self-remediation, or logging structured tickets), and (2) Resolver Flow for privileged administrators (authoritative Policy Troubleshooter analysis, deny policy exemptions, least-privilege role discovery, and PAM/IAM provisioning).

repo: google/skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬