المهارات azure-resource-lookup
📦

azure-resource-lookup

آمن ⚙️ الأوامر الخارجية

探索 Azure 資源

此技能可協助 Claude 使用者使用 Azure Resource Graph 查詢來尋找及列出跨訂閱的 Azure 資源。它能從自然語言請求生成 KQL 查詢,並提供常見資源探索場景的參考模式。

يدعم: Claude Codex Code(CC)
🥉 75 برونزي
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "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

التدقيق الأمني

آمن
v1 • 2/22/2026

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.

2
الملفات التي تم فحصها
297
الأسطر التي تم تحليلها
1
النتائج
1
إجمالي عمليات التدقيق

الأنماط المكتشفة

False Positive: Backtick Usage in DocumentationFalse Positive: KQL Operator Misidentified as Weak CryptoFalse Positive: Error Handling Reference
تم تدقيقه بواسطة: claude

درجة الجودة

41
الهندسة المعمارية
100
قابلية الصيانة
87
المحتوى
50
المجتمع
100
الأمان
91
الامتثال للمواصفات

ماذا يمكنك بناءه

管理多個訂閱的雲端管理員

取得跨所有訂閱的資源完整清單,以了解 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 Resource Graph 是一項 Azure 服務,可讓您有效探索跨訂閱的 Azure 資源。它使用類似 KQL 的查詢語言提供快速的大規模查詢。
此技能是否需要特殊的 Azure 權限?
是的,您至少需要對要查詢的訂閱具有 Reader 角色。此技能無法存取您沒有權限檢視的資源。
我可以使用此技能部署資源嗎?
不,此技能是唯讀的。它只能列出、尋找和顯示 Azure 資源。如需部署,請使用 azure-deploy 技能。
這與個別 Azure MCP 工具有何不同?
個別工具(如 compute、storage 或 cosmos)針對特定資源類型進行了最佳化。此技能在專用工具不可用時,使用 Azure Resource Graph 進行跨資源查詢和探索。
為什麼某些查詢會傳回空結果?
空結果通常表示您在查詢範圍內沒有相符的資源。請使用 --subscriptions flag 檢查您的訂閱範圍,並確認資源類型的拼寫正確。
Azure Resource Graph 中的資料是即時的嗎?
不,Azure Resource Graph 資料略有延遲(通常為幾分鐘)。如需即時監控,請使用 Azure Monitor 或資源專用的 API。

تفاصيل المطور

بنية الملفات