← Back to list

azure-rbac
by BreakerOfStems
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: azure-rbac description: Query Azure RBAC role assignments and definitions (read-only)
Azure RBAC Skill (Read-Only)
Inspect role-based access control assignments and definitions.
See also: Shared Conventions | Safety Guidelines
Purpose
Query who has access to what in Azure without making changes.
Commands
az role assignment list -o json
az role assignment list --assignee <principal> -o json
az role assignment list --scope <scope> -o json
az role assignment list --resource-group <rg> -o json
az role definition list -o json
az role definition show --name <role-name> -o json
Output Format
Always use -o json for consistent, parseable output.
Workflow Examples
List All Role Assignments
az role assignment list -o json
Check User's Permissions
az role assignment list --assignee "user@example.com" -o json
Check Service Principal Access
az role assignment list --assignee <app-id-or-object-id> -o json
List Assignments at Scope
# Resource group scope
az role assignment list --resource-group my-rg -o json
# Subscription scope
az role assignment list --scope "/subscriptions/<sub-id>" -o json
# Resource scope
az role assignment list --scope "/subscriptions/.../resourceGroups/.../providers/..." -o json
Inspect Role Definition
# Built-in role
az role definition show --name "Contributor" -o json
# List all role definitions
az role definition list -o json
# Custom roles only
az role definition list --custom-role-only true -o json
Common Built-in Roles
| Role | Description |
|---|---|
| Owner | Full access including RBAC |
| Contributor | Full access except RBAC |
| Reader | Read-only access |
| User Access Administrator | Manage RBAC only |
Understanding Output
Role assignment includes:
principalId- who has accessroleDefinitionName- what rolescope- where it applies
Policies
- Read-only only - no role assignment create/delete
- Always use JSON output
- If asked to grant/revoke access: stop, explain read-only scope, show required command, require explicit confirmation
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon