Authorization
Remediation Orchestrator’s built-in role-based access control (RBAC) maps OIDC groups, role claims, and authenticated client IDs to a role for each tenant. Mappings come from each tenant’s configuration and, optionally, a site-wide RBAC file shared by all tenants. A role grants a set of scopes, which control the UI actions and API endpoints an identity can use.
Enable built-in RBAC by setting MAESTRO_AUTHORIZATION_PROVIDER=rbac. When authorization is disabled, Remediation Orchestrator does not enforce role or scope checks. See the deployment checklist for authentication prerequisites. With the Helm charts, the Helm authorization settings set the provider and site administrator groups; this page owns the role and scope semantics.
How role mapping works
Configure a tenant’s role mapping in its TOML configuration:
group and claim_role must exactly match values in the authenticated token. client_id must exactly match the calling application’s authenticated client ID (azp in an Entra v2 token or appid in a v1 token). Remediation Orchestrator checks group mappings first, then role mappings, then client mappings. Within each list, the first match wins. If nothing matches, the orchestrator assigns default_role; set it to no-access to require an explicit mapping for access. Access is granted only where a tenant grants it, so if default_role is absent, or set to an unrecognized role, the identity receives no-access. Open tenants are configured with default_role = "viewer" rather than relying on an omitted value.
Use the least-privileged role that supports the identity’s work. The human roles are hierarchical: each role includes all scopes from the roles above it in the following table. script-uploader is separate from that hierarchy.
For example, a maintainer has every viewer and operator scope in addition to the scopes listed for maintainer.
A role name Remediation Orchestrator does not recognize is reported rather than guessed. The entry is rejected when the config is saved, and a config already in the store is listed on that tenant’s detail page. A mapping naming an unknown role still matches its members but grants them nothing, rather than dropping the entry and sending them to the default. Otherwise a typo in a mapping written to hold a group back would hand them the tenant default instead. A default_role that was written and does not resolve falls to no-access, because a misspelling of viewer and a misspelling of no-access look the same and only one of those guesses is safe. Leaving default_role unset grants nothing either, since access is granted only where a tenant grants it; open tenants set default_role = "viewer" explicitly. Role names match exactly, so Viewer is not viewer and does not resolve; the error lists the names that are accepted.
no-access applies to machine identities the same way it applies to people: a service account whose group, role claim, or client ID is mapped only in the tenants it serves has no access to any other tenant that sets default_role = "no-access". Note that none is not a role name. This product already uses that word for the opposite meaning, since MAESTRO_AUTHORIZATION_PROVIDER = none turns authorization off entirely.
Scope reference
Scopes identify the permission required by an action. The following table lists the built-in scopes and the least-privileged built-in role that receives each one.
Site Admin
Site Admin is a deployment-wide privilege, not a role that can be assigned in a tenant’s [rbac] mapping. It is intended for operators who administer tenants across the Remediation Orchestrator deployment.
Configure the OIDC groups that receive this privilege with MAESTRO_SITE_ADMIN_GROUPS, as a comma-separated list. For example:
When RBAC is enabled, members of a configured Site Admin group receive the site:admin scope and are authorized for all scopes. This includes creating, deleting, and deactivating tenants. Do not add ordinary tenant administrators to a Site Admin group.
If MAESTRO_SITE_ADMIN_GROUPS is empty, no user receives site:admin. When authorization is disabled, this setting has no effect because Remediation Orchestrator allows all requests.
Site-wide role mappings
A site-wide RBAC file grants roles in every tenant without repeating the same mapping in each tenant’s configuration. Use it for identities that need the same role everywhere, such as a platform operations group or a reporting client.
Set MAESTRO_SITE_CONFIG_FILE (or the --site-config flag) to the path of a deployment-managed TOML file. In a container, use an absolute path to the mounted file. The file is read only when MAESTRO_AUTHORIZATION_PROVIDER=rbac, and only at startup, so restart Remediation Orchestrator after changing it.
The file supports the same mapping types as tenant RBAC:
Remediation Orchestrator resolves a role for each tenant in this order:
- Site Admin membership grants every scope.
- The tenant’s own group, role, and client mappings. Any tenant match wins over every site mapping.
- The site file’s group mappings, then role mappings, then client mappings. The first match within each type wins.
- The tenant’s
default_role, orno-accesswhen it is absent.
An explicit no-access mapping counts as a match and stops resolution at its level. A tenant can therefore deny an identity that the site file grants, but a site no-access mapping cannot override a tenant grant.
The site file cannot set default_role or Site Admin membership; defaults stay tenant-owned and Site Admin stays in MAESTRO_SITE_ADMIN_GROUPS. Remediation Orchestrator refuses to start if the file is missing or contains unknown fields, unknown roles, empty mapping keys, or a key repeated within one mapping type. Values match authenticated claims exactly, as they do in tenant mappings.
Verify access
After changing group membership, tenant RBAC configuration, or the site-wide RBAC file, sign in as a representative user and confirm that the UI exposes only the expected actions. A missing action or an HTTP 403 Forbidden response means the role does not have the required scope. Review group-claim values and the mapping order before granting a broader role.