azure-resource-lookup
探索 Azure 資源
此技能可協助 Claude 使用者使用 Azure Resource Graph 查詢來尋找及列出跨訂閱的 Azure 資源。它能從自然語言請求生成 KQL 查詢,並提供常見資源探索場景的參考模式。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "azure-resource-lookup". List all web apps in my subscription
النتيجة المتوقعة:
- Resource Name: mywebapp-prod
- Type: microsoft.web/sites
- Location: eastus
- Resource Group: prod-rg
- State: Running
استخدام "azure-resource-lookup". Find unattached disks
النتيجة المتوقعة:
- Unattached Disk: data-disk-01
- Size: 50GB
- Location: westus2
- Resource Group: storage-rg
التدقيق الأمني
آمنAll 95 static findings are false positives. The skill contains documentation and reference content for Azure Resource Graph queries. The detected patterns are: (1) Backtick usage in markdown for code formatting - not actual shell execution; (2) KQL operators like '=~' misidentified as weak crypto - actually case-insensitive comparison; (3) Error handling references misidentified as reconnaissance. This is a legitimate Microsoft Azure documentation skill with no security concerns.
عوامل الخطر
⚙️ الأوامر الخارجية (4)
الأنماط المكتشفة
درجة الجودة
ماذا يمكنك بناءه
管理多個訂閱的雲端管理員
取得跨所有訂閱的資源完整清單,以了解 Azure 使用情況並識別未使用的資源。
執行合規性檢查的安全稽核員
尋找缺少必要標籤、已啟用公用網路存取,或處於佈建失敗狀態的資源。
尋找特定資源類型的開發人員
當專用的 MCP 工具不可用時,快速找出容器應用程式、Web 應用程式或其他資源。
جرّب هذه الموجهات
List all virtual machines in my Azure subscription
Show me all storage accounts across all subscriptions I have access to
Find unmanaged or orphaned disks that are not attached to any virtual machine
Which Azure resources are missing the Environment tag? Show me the resource names and their resource groups
أفضل الممارسات
- 始終使用不區分大小寫的類型比對 (=~),因為 Azure 資源類型是小寫
- 使用 --subscriptions 或 --first 限定查詢範圍,以避免大型租用戶超時
- 可用時,優先使用專用的 MCP 工具處理單一資源類型
تجنب
- 使用 ARG 進行即時監控或警示 - 資料有延遲
- 嘗試透過此技能建立或更新資源
- 在大型租用戶中執行廣泛查詢而不限定訂閱範圍
الأسئلة المتكررة
什麼是 Azure Resource Graph?
此技能是否需要特殊的 Azure 權限?
我可以使用此技能部署資源嗎?
這與個別 Azure MCP 工具有何不同?
為什麼某些查詢會傳回空結果?
Azure Resource Graph 中的資料是即時的嗎?
تفاصيل المطور
المؤلف
microsoftالترخيص
MIT
المستودع
https://github.com/microsoft/github-copilot-for-azure/tree/main/plugin/skills/azure-resource-lookup/مرجع
main
بنية الملفات