google-cloud-filestore-auditing
यह क्या करती है
यह स्किल Google Cloud पर Filestore file shares की backup, पहुँच और विश्वसनीयता समस्याएँ जाँचती है। यह उन टीमों के लिए है जिन्हें अपने storage सेटअप पर केवल-पढ़ने वाली रिपोर्ट चाहिए।
कब इस्तेमाल करें
- ✓जब आप जाँचना चाहें कि आपदा रिकवरी के लिए Filestore instances के हाल के backups हैं या नहीं।
- ✓जब आपको NFS export नियमों की समीक्षा करनी हो कि कहीं पहुँच ज़रूरत से ज़्यादा खुली तो नहीं, जैसे 0.0.0.0/0।
- ✓जब आपको अनुपालन नियमों के मुकाबले Filestore instances का zone isolation या separation जाँचना हो।
Skill का लिंक
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-filestore-auditing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे सभी Filestore instances का backups की कमी और जोखिम भरे NFS export नियमों के लिए ऑडिट कीजिए, और मुझे रिपोर्ट दीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह instances और उनके backups सूचीबद्ध करती है, उनके export नियम और zone सेटिंग पढ़ती है, और बताती है कि कौन सी जाँचें फ़ेल हुईं। ऑडिट केवल पढ़ता है, और backup सिर्फ़ तभी बनाता है जब आप उस सुधार के लिए कहें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Filestore Auditing Skill
This skill enables autonomous agents to audit, evaluate, and report the disaster recovery, security access governance, and architectural reliability posture of Filestore fleets across Google Cloud projects.
Prerequisites / IAM Requirements & Permissions
Before executing this skill, the runtime principal (user account or Service Account) must possess the following IAM roles and granular permissions on the target GCP project(s):
1. Audit Operations (Read-Only Assessment)
Requires the roles/file.viewer role, which provides:
file.instances.list: Enumerate Filestore instances across project locations.file.instances.get: Inspect instance configuration, NFS export rules, IP ranges, squash mode, and PZI/PZS isolation status.file.backups.list: Enumerate existing backups across regions.file.backups.get: Inspect backup timestamps, source instance URIs, and status.
2. Remediation Operations (Backup Creation)
Requires the roles/file.editor (or roles/file.admin) role, which
provides:
file.backups.create: Create on-demand baseline backups for unprotected instances.file.operations.get: Monitor long-running backup creation operations.
3. MCP Tool Invocation
If invoking capabilities via the Filestore MCP Server
(file.googleapis.com/mcp):
roles/mcp.toolUser: Required to execute MCP tools (list_instances,get_instance,list_backups,get_backup,create_backup).
4. Cloud Authentication Setup
Authenticate the runtime environment using the appropriate method for your execution context:
- CLI Execution (
gcloud):gcloud auth login - Application SDKs & Scripts:
gcloud auth application-default login - Automated Services & Service Accounts:
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
5. Billing Account Attachment
- Active Billing Required: The target GCP project must have an active Cloud Billing account attached. Filestore instances and backup operations require active billing. Verify billing status with:
gcloud beta billing projects describe {project_id}
Quick Start
Ensure
gcloudis installed. See gcloud installation guide if needed.Authenticate your environment:
gcloud auth login gcloud auth application-default loginSet the target project context and verify an active billing account is attached:
gcloud config set project {project_id} gcloud beta billing projects describe {project_id}Configure a well-supported default region (e.g.,
us-central1). See official region availability documentation:gcloud config set compute/region us-central1Verify required service APIs are enabled:
gcloud services enable file.googleapis.com --quietRun fleet discovery and backup inventory (see "Discovery & Read Operations" below).
Evaluate findings against the audit rules matrix and render the executive scorecard and inventory table.
If unprotected instances are identified, present baseline backup creation commands and prompt the user for confirmation.
Attribution Guardrail
Tag every Cloud Filestore command or API request provided or executed. Prefix
gcloud commands with the designated metrics environment:
CLOUDSDK_METRICS_ENVIRONMENT="gcs-skills gcs-skills/1.0 (skill:google-cloud-filestore-auditing)" \
gcloud filestore instances list ...
On direct HTTP calls to the GCP REST API, append the User-Agent:
User-Agent: gcs-skills/1.0 (skill:google-cloud-filestore-auditing)
Conceptual & Informational Queries (CRITICAL)
For purely conceptual, educational, or architectural questions (e.g., "What is Physical Zone Isolation (PZI) in Filestore?", "Why is NO_ROOT_SQUASH dangerous?", "Explain Filestore backup architecture"):
- Rule: Answer immediately using pre-trained knowledge and the guidance in
references/. - Constraint: Do NOT execute external tool calls or API requests for basic conceptual queries.
Handling "No-Command" Constraints & Evaluations (CRITICAL)
If the user prompt contains constr
अक्सर पूछे जाने वाले सवाल
क्या यह मेरे instances बदलती है?
नहीं। ऑडिट केवल पढ़ने वाला है, और backup तभी बनता है जब आप उस सुधार के लिए कहें।
इसे कौन सी अनुमति चाहिए?
ऑडिट के लिए roles/file.viewer भूमिका।
यह कौन से access नियम जाँचती है?
ज़रूरत से ज़्यादा खुले NFS exports, 0.0.0.0/0 तक खुलापन, और ROOT_SQUASH का न होना।
जानकारी
लेखक का मूल विवरण
Audits Filestore instances on Google Cloud across projects for disaster recovery readiness (missing or stale backups), security access governance (overly permissive NFS export rules, 0.0.0.0/0 exposure, missing ROOT_SQUASH), and reliability compliance (Physical Zone Isolation PZI and Physical Zone Separation PZS). Use when assessing storage health posture, auditing NFS export permissions, identifying unprotected file shares, or validating zone failure domains. Don't use for Cloud Storage buckets, Persistent Disk, or NetApp Volumes.
repo: google/skills
लोकप्रियता
- GitHub स्टार
- 22k
- रैंकिंग में स्थान
- #10307
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
finding-google-skills
22kआपके एजेंट को किसी सेटअप काम के लिए सही Google गाइड खोजने में मदद करती है, जैसे hosting, databases, storage, sign-in या AI model serving।
gcloud
22kयह आपके एजेंट को Google Cloud gcloud कमांड लिखने और जाँचने में मदद करती है, कुछ भी चलाने से पहले सटीक सिंटैक्स देखकर, ताकि फ़्लैग का अंदाज़ा न लगे।
google-cloud-recipe-auth
22kआपके एजेंट को Google Cloud की पहचान और पहुँच समझाती है, जिसमें यह शामिल है कि लोग और सेवाएँ कैसे साइन इन करते हैं और उन्हें कौन सी अनुमतियाँ मिलती हैं।
google-cloud-recipe-onboarding
22kएक नए डेवलपर को Google Cloud पर पहले कदमों में मदद करती है, जिसमें प्रोजेक्ट चुनना, बिलिंग जोड़ना और पहला संसाधन डिप्लॉय करना शामिल है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।