google-cloud-scc-query
Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center
Install / Use
npx skills add google/skills --skill google-cloud-scc-queryInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
SecuritySupported Platforms
Our assessment of google-cloud-scc-query
google-cloud-scc-query scores 98/100 on our quality scale, 64th of 544 Security skills we index (top 12%).
Its SKILL.md is 12 KB long, well organised into 12 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so google-cloud-scc-query is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
google-cloud-scc-query compared with similar skills
All 4 of these similar skills score higher than google-cloud-scc-query; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| google-cloud-scc-query (this skill)by google | 98 | 20.3k | 2d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 4d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 4d ago | SKILL.md |
Frequently asked questions
- How do I install google-cloud-scc-query?
- Run
npx skills add google/skills --skill google-cloud-scc-query. The install tabs above show the steps for each supported agent. - Which AI agents does google-cloud-scc-query work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is google-cloud-scc-query safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is google-cloud-scc-query still maintained?
- The repository was last updated 2 days ago, so google-cloud-scc-query is actively maintained.
Skill content
View source on GitHubname: google-cloud-scc-query metadata: version: "1.0.0" category: Security description: >- Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Google Cloud Security Command Center. 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.
Google Cloud Security Command Center Query Skill
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 Google Cloud Security
Command Center.
[!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.
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 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:
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.{LOCATION}.rep.googleapis.com/
Example for the European Union (eu) region:
gcloud config set api_endpoint_overrides/securitycenter https://securitycenter.eu.rep.googleapis.com/
To reset the endpoint back to default global routing:
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} - Project-level:
projects/{project_id}/sources/{source_id}/locations/{location}/findings/{finding_id}
When performing a Deep Dive on a location-qualified finding name:
- Extract the
{parent}scope (the prefix before/sources/..., e.g.,organizations/{org_id}). - Extract the
{location}from/locations/{location}/(e.g.,eu,us,me-central2). If not present in the finding name, default toglobal(or the user-specified location). - Execute the query with
--location={location}and--filter="name=\"{finding_name}\"".
Intent-Based Query Strategies
1. Deep Dive (Specific Finding Details)
Intent: User provides a specific finding name or explicitly asks to retrieve
all details for one finding.
Action: Execute gcloud scc findings list with a strict filter on name
and NO --field-mask to retrieve the complete JSON payload. Specify
--location={location} (default global unless a regional location is
indicated or present in the finding name).
gcloud scc findings list {parent} \
--location={location} \
--filter="name=\"{finding_name}\"" \
--format="json" --limit=1
2. Listing (Filtered Projection)
Intent: User wants to list active findings matching criteria without pulling
full nested payloads.
Action: Use --field-mask projection to restrict output size. Specify
--location={location} (default global unless querying a specific region).
gcloud scc findings list {parent} \
--location={location} \
--filter="{filter_expression}" \
--field-mask="finding.name,finding.parentDisplayName,finding.findingClass,finding.category,finding.state,finding.eventTime,finding.severity,finding.resourceName" \
--format="json" --order-by="severity,event_time desc" --limit=100
| Intent / Target Finding Class | --filter Expression |
| :---------------------------- | :----------------------------------------- |
| All Active Findings | state="ACTIVE" |
| Vulnerabilities | state="ACTIVE" AND | : : findingClass="VULNERABILITY" :
| Misconfigurations | state="ACTIVE" AND | : : findingClass="MISCONFIGURATION" :
| Toxic Combinations | state="ACTIVE" AND | : : findingClass="TOXIC_COMBINATION" :
| External Exposures | state="ACTIVE" AND | : : findingClass="EXTERNAL_EXPOSURE" :
| Threats | state="ACTIVE" AND findingClass="THREAT" |
| Observations | state="ACTIVE" AND | : : findingClass="OBSERVATION" :
| Sensitive Data Risks | state="ACTIVE" AND | : : findingClass="SENSITIVE_DATA_RISK" :
| Chokepoints | state="ACTIVE" AND | : : findingClass="CHOKEPOINT" :
| Posture Violations | state="ACTIVE" AND | : : findingClass="POSTURE_VIOLATION" :
| Secrets | state="ACTIVE" AND findingClass="SECRET" |
| SCC Errors | state="ACTIVE" AND | : : findingClass="SCC_ERROR" :
| Specific Category | state="ACTIVE" AND category="{category}" |
3. Discovery & Aggregation (Grouping)
Intent: User wants high-level counts or landscape overview (e.g., "What are
the most common findings?", "Show me a summary by category").
Action: Use gcloud scc findings group. Specify --location={location}
(default global unless querying a specific region). Allowed fields for
--group-by are strictly: resource_name, category, state, parent.
gcloud scc findings group {parent} \
--location={location} \
--group-by="{group_by_field}" \
--filter="state=\"ACTIVE\"" \
--format="json"
Payload Analysis & Handoff
Once the finding JSON payload is retrieved:
- For
TOXIC_COMBINATIONFindings:- Verify the
attackExposurefield is present and has ascore > 0. - Inspect the attack path nodes, edges, or referenced
attackExposureResultto identify exposed resources and attack trajectories.
- Verify the
- For
VULNERABILITYFindings:- Extract CVSS scores, exploit signals (
exploitationActivity,observedInTheWild,zeroDay), upstream fix status (upstreamFixAvailable), and affected package details from thevulnerabilityobject to evaluate risk:vulnerability.cve.idvulnerability.cve.cvssv3.baseScorevulnerability.cve.cvssv3.attackVectorvulnerability.cve.exploitationActivityvulnerability.cve.observedInTheWildvulnerability.cve.zeroDayvulnerability.cve.upstreamFixAvailablevulnerability.offendingPackage.packageNamevulnerability.offendingPackage.packageVersionvulnerability.fixedPackage.packageVersionvulnerability.securityBulletin.suggestedUpgradeVersion
- Extract CVSS scores, exploit signals (
- Handoff: Do not draft remediation plans, patch resources, or execute configuration commands. Pass the extracted finding payload to the appropriate remediation or IAM analyzer skill to manage the remediation action loop.
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
