RBAC Map

v1.1.0
com.rbacmap/rbacmap Checked 7 hours ago Published 12 days ago

Least-privilege role lookup for Microsoft 365 and Azure built-in roles.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_roles Search roles

Find Microsoft 365 and Azure built-in roles by name or description. Returns role ids for the other tools, a privilege tier and the role's RBAC Map page.

ParameterTypeDescription
query *stringRole name or keywords, e.g. "helpdesk" or "Storage Blob Data Reader".
limitintegerMaximum results (default 10, max 25).
servicestringLimit to one service, e.g. "entra" or "azure".

get_role Get role details

Full details for one role: description, privilege tier, permissions, the admin tasks it covers, its Microsoft Learn page and its RBAC Map page.

ParameterTypeDescription
id *stringRole id from search_roles, e.g. "entra-helpdesk-admin".

find_roles_with_permission Find roles that grant a permission

Reverse lookup: which roles grant a permission, least-privileged first. For Azure, pass an operation such as "Microsoft.Storage/storageAccounts/listKeys/action" (wildcards and notActions are applied) or a pattern such as "Microsoft.KeyVault/*". For Microsoft 365, pass keywords such as "reset password"; they are matched against RBAC Map's plain-language permission descriptions.

ParameterTypeDescription
permission *stringAzure operation or pattern, or Microsoft 365 keywords.
limitintegerMaximum results (default 15, max 50).
servicestringLimit to one service, e.g. "entra" or "azure".

compare_roles Compare roles

Compare 2 or 3 roles: the permissions they share and the permissions only one of them has, with each role's privilege tier.

ParameterTypeDescription
ids *arrayRole ids from search_roles.

list_tasks Find admin tasks

Search the admin tasks RBAC Map maps to roles (e.g. "reset MFA", "create retention policy"), with the least-privileged roles that can do each one.

ParameterTypeDescription
limitintegerMaximum results (default 20, max 50).
querystringKeywords describing the task.
servicestringLimit to one service, e.g. "entra" or "azure".

recommend_roles Recommend roles for tasks

Recommend the built-in roles that together cover a set of admin tasks, using the RBAC Map Role Builder algorithm. Get task ids from list_tasks first. "fewest-roles" (default) picks the smallest set; "least-privilege" prefers several narrow roles over one broad one.

ParameterTypeDescription
task_ids *arrayTask ids from list_tasks.
goalstringfewest-roles (default) or least-privilege.

recent_changes Recent role changes

Recently added, removed, renamed or re-permissioned Microsoft 365 and Azure roles, newest first. The same entries as RBAC Map's What's New feed.

ParameterTypeDescription
limitintegerMaximum results (default 20, max 50).
servicestringLimit to one service, e.g. "entra" or "azure".
sincestringOnly changes on or after this date (YYYY-MM-DD).