360 Secure SkillHub
360 安全技能中心

azure-role-selector

该 Skill 面向 Azure 权限分配场景:根据用户期望授予身份的权限,借助 Azure MCP 文档工具查找最小权限的内置角色;若无内置角色匹配,则生成自定义角色定义;随后生成角色分配的 CLI 命令,并给出 Bicep 代码片段。

分类:安全
github
热度 39.80
最近更新 2026-10-18 22:04:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add github/awesome-copilot/azure-role-selector
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
azure-role-selector
description
When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role.
allowed-tools
["Azure MCP/documentation","Azure MCP/bicepschema","Azure MCP/extension_cli_generate","Azure MCP/get_bestpractices"]

Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.