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Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Выведи открытые результаты по уязвимостям в Security Command Center моей организации и скажи, какие самые серьёзные.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл выполняет команды gcloud только для чтения для родительской области, например организации, папки или проекта. Для получения результатов он использует команды списка с фильтрами, потому что команды describe для них нет.
Технический текст (оригинальный 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 describecommand (Invalid choice: 'describe'). To retrieve details for a specific finding by its name, always usegcloud scc findings listwith a filter onname.
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
- Read-Only & Zero-Speculation (Parent Scope Required): Keep all
executions strictly read-only. Every
gcloud scc findings listorgroupcommand strictly requires an explicit{parent}scope (organizations/{id},projects/{id}, orfolders/{id}). If the parent scope is missing from the prompt and cannot be inferred from a full finding name, DO NOT run anygcloudcommands (do not execute queries without parent, and never inspectgcloud config). Halt immediately before executing commands and ask the user for the parent resource scope. - 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.
- 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. - 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.
- 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).
- Parent Scope Resolution:
- For listing and grouping, format the parent resource path as
organizations/{org_id},projects/{project_id}, orfolders/{folder_id}. - For deep dive queries on a specific finding name, extract the
{parent}resource prefix before/sources/...:organizations/{org_id}/sources/...→{parent}isorganizations/{org_id}folders/{folder_id}/sources/...→{parent}isfolders/{folder_id}projects/{project_id}/sources/...→{parent}isprojects/{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.
- For listing and grouping, format the parent resource path as
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
Частые вопросы
Он меняет результаты?
Нет. Все команды, которые он выполняет, только для чтения.
Может ли он работать без области?
Нет. Ему нужна родительская область, например организация, папка или проект, и он спрашивает её, если её нет.
Как получить подробности одного результата?
Он использует gcloud scc findings list с фильтром по имени результата, так как команды describe нет.
Подробности
Оригинальное описание автора
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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
finding-google-skills
22kПомогает агенту найти нужные руководства Google для задач настройки, например хостинга, баз данных, хранилища, входа или запуска ИИ-моделей.
gcloud
22kПомогает агенту писать и проверять команды gcloud для Google Cloud, сверяя синтаксис с официальной справкой перед запуском, чтобы не угадывать флаги.
google-cloud-recipe-auth
22kВедёт агента через настройку идентификации и доступа в Google Cloud: как люди и сервисы входят в систему и какие права они получают.
google-cloud-recipe-onboarding
22kВедёт нового разработчика через первые шаги в Google Cloud: выбор проекта, подключение оплаты и развёртывание первого ресурса.
Похожие скиллы
reverse-engineer-anything
422kПомогает агенту изучить готовые приложения и пакеты, объяснить их функции, сравнить версии или помочь с пересборкой через REA.
1password
394kПомогает агенту настроить командную строку 1Password, войти в нее и читать или подставлять секреты, не выводя их значения в чат.
healthcheck
394kПомогает агенту проверить компьютер или сервер, на котором работает OpenClaw, на риски безопасности, такие как SSH, файрвол, обновления и резервные копии, а затем предложить безопасные исправления.