Skip to content
Agentmart
Submit a tool

google-cloud-scc-query

Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Security…

Skill by googleOfficial

IndexedApache-2.0★ 21,542
Write a review

Chalk Labs

Need help deploying google-cloud-scc-query?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/google-google-cloud-scc-query

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: cloud, data, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/google-cloud-scc-query

What's inside

Skill name
google-cloud-scc-query
Description
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.
License
Apache-2.0
Metadata
version: 1.0.2 · category: Security
Instructions
248 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • attribution.md · references/
  • finding_schema.md · references/

SKILL.md (first lines)

# 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](references/attribution.md).

--------------------------------------------------------------------------------

## 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 Regional Locations**:
    -   `us` (United States multi-region)
    -   `eu` (European Union multi-region)
    -   `me-central2` (Kingdom of Saudi Arabia regional location)

### 2. API Endpoint Overrides

When data residency (DRZ) is enabled for an organization in a regional location
(`us`, `eu`, or `me-central2`), configure the regional API endpoint override
before executing finding queries:

```bash
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.{LOCATION}.rep.googleapis.com/
```

Example for the European Union (`eu`) region:

```bash
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.eu.rep.googleapis.com/
```

To reset the endpoint back to default global routing:

```bash
gcloud config unset api_endpoint_overrides/securitycenter
```

### 3. Location-Qualified Finding Resource Names

Regional finding resource names include the `/locations/{location}/` path
segment:

-   Organization-level:
    `organizations/{org_id}/sources/{source_id}/locations/{location}/findings/{finding_id}`
-   Folder-level:
    `folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}`

From google/skills, Apache-2.0.

More from google/skills

Signals

Stars
21,542
Forks
1,821
Open issues
21
Last commit (this folder)
Oct 22, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.2
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from google

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get google-cloud-scc-query running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying google-cloud-scc-query?

CallGet help
Cite this page

google-cloud-scc-query skill. Agent Mart. https://agentmart.dev/skills/google-google-cloud-scc-query (last updated 2026-10-24)