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

google-cloud-scc-query

하는 일

이 스킬은 Google Cloud Security Command Center에서 보안 발견 항목을 가져옵니다. 아무것도 바꾸지 않고 현재 위험을 보려는 보안 팀을 위한 스킬입니다.

사용하는 경우

  • ✓이름으로 Security Command Center 발견 항목을 찾고 싶을 때.
  • ✓취약점, 위협, 외부 노출 같은 유형의 발견 항목을 나열해야 할 때.
  • ✓위험 조합이나 민감 데이터 위험의 세부 정보를 확인하고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-query/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-query/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분.

작동 방식

조직, 폴더, 프로젝트 같은 상위 범위를 대상으로 읽기 전용 gcloud 명령을 실행합니다. 세부 명령이 없으므로 필터가 있는 목록 명령으로 발견 항목을 가져옵니다.

기술 내용 (원본 SKILL.md)

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

Security Command Center Query Skill on Google Cloud

Provides guidelines and read-only gcloud CLI command patterns for querying and retrieving security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Security Command Center on Google Cloud.

[!IMPORTANT] There is NO gcloud scc findings describe command (Invalid choice: 'describe'). To retrieve details for a specific finding by its name, always use gcloud scc findings list with a filter on name.

Usage Attribution

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


Core Execution Rules

  1. Read-Only & Zero-Speculation (Parent Scope Required): Keep all executions strictly read-only. Every gcloud scc findings list or group command strictly requires an explicit {parent} scope (organizations/{id}, projects/{id}, or folders/{id}). If the parent scope is missing from the prompt and cannot be inferred from a full finding name, DO NOT run any gcloud commands (do not execute queries without parent, and never inspect gcloud config). Halt immediately before executing commands and ask the user for the parent resource scope.
  2. Bounded Execution & No Runaway Loops:
    • Limit tool calls to what is strictly necessary to complete the query (typically 1 call for direct queries, or 2 calls for List → Deep Dive workflows).
    • If a command fails due to permission/auth errors, or if a specific finding query returns [], halt immediately. Do not attempt blind brute-force retries with different flags, and never search the local workspace for credentials.
  3. Immediate Halt on Errors: If any command fails with PERMISSION_DENIED, IAM_PERMISSION_DENIED, credential expiration, or network timeouts, halt immediately and report the verbatim error message. Do not search the workspace for credentials or run diagnostic loops.
  4. Ambiguous or Multiple Findings: If multiple finding names are provided when a single finding report is requested, or if listing returns multiple findings, do not investigate all of them or unilaterally pick one. Halt immediately without running queries and ask the user to clarify which specific finding name they want details for. If zero findings are returned from a query, report that no active findings exist and halt immediately.
  5. Do Not Query Attack Path Resources: Analyze only the data present in the Security Command Center finding JSON payload. Do not run commands to describe, verify, or query underlying Google Cloud resources (such as VMs, Cloud Storage buckets, service accounts, or IAM policies).
  6. Parent Scope Resolution:
    • For listing and grouping, format the parent resource path as organizations/{org_id}, projects/{project_id}, or folders/{folder_id}.
    • For deep dive queries on a specific finding name, extract the {parent} resource prefix before /sources/...:
      • organizations/{org_id}/sources/... → {parent} is organizations/{org_id}
      • folders/{folder_id}/sources/... → {parent} is folders/{folder_id}
      • projects/{project_id}/sources/... → {parent} is projects/{project_id} Extract the parent prefix regardless of whether the finding resource name is global (4-segment) or location-qualified (5-segment with /locations/{location}/). Execute the deep dive query using the extracted {parent}. Do not reject or halt on project- or folder-level findings.

Data Residency & Regional Endpoints

When Data Residency (DRZ) is enabled, findings are stored and accessible only within their designated regional location (us, eu, or me-central2). Queries across different locations do not return findings from other regions.

1. Location Parameterization

All gcloud scc findings commands require specifying the target location via --location={location}:

  • Default: global (used when data residency is not enabled or for global findings).
  • **Supported Regiona
자주 묻는 질문

발견 항목을 바꾸나요?

아닙니다. 실행하는 모든 명령은 읽기 전용입니다.

범위 없이 실행할 수 있나요?

아닙니다. 조직, 폴더, 프로젝트 같은 상위 범위가 필요하며, 없으면 요청합니다.

한 발견 항목의 세부 정보는 어떻게 얻나요?

describe 명령이 없으므로, 발견 항목 이름으로 필터를 건 gcloud scc findings list를 사용합니다.

상세 정보

작성자의 원본 설명

Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Security Command Center on Google Cloud. Use when retrieving details for a security finding by its name, validating finding scope (e.g., verifying findingClass is TOXIC_COMBINATION, VULNERABILITY, EXTERNAL_EXPOSURE, or THREAT), or fetching finding details for triage. Don't use to draft remediations, apply patches, or execute configurations.

repo: google/skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬