midPoint role mining

midPoint role mining analyzes existing application role assignments to find clusters and propose business role candidates. This page explains what it does, when to use it, and what to plan before turning suggestions into a role model.

On this page

When midPoint role mining is the right starting point for a role model

If your organization has years of accumulated application role assignments and no clean catalog of business roles, midPoint role mining is worth evaluating as a first step. Role mining analyzes application roles and their assignment to users, detects clusters and patterns, and suggests candidates for business roles that a team can review and adopt. It starts from access that people already hold, so it answers the question of what access looks like today before anyone designs what it should be.

Evolveum describes the motivation as simplifying role-based access control. Business roles are hard to define top down, because a catalog written from job descriptions rarely matches how work is actually done, and application role assignments tend to accumulate as people change teams, take on projects and keep access they no longer need. Each grant may have been reasonable when it was made, so the result is a large, inconsistent set of assignments with no single rule behind it. Bottom-up analysis of the existing data is a practical way to see where the real patterns sit.

Mining produces candidates for review, not a finished role model. A cluster of users who share the same application roles may reflect a genuine job function, a legacy team structure or a set of over-granted accounts, and only the business owners can tell which. Before you start, confirm which application roles and identity sources midPoint will read, who will review each candidate, and how rejected patterns will be recorded. Check the current scope of the feature in the Evolveum role mining documentation for the midPoint version you plan to run.

Mining options and when each fits

This table compares the decisions a team makes before running role mining: how far the scope reaches, which population is mined, and how candidate roles are reviewed. Read each row as a choice with a fit and a trade-off, then confirm the tuning parameters in your midPoint version before the first run. The main takeaway is that a narrow, reviewed first pass usually gives a cleaner role model than a single run across all users.

OptionWhen it fitsMain trade-off
Scope by single applicationOne application has heavy, well-understood accumulation and its owner can review results quickly.Roles stay application-specific, so business roles across systems still need a later pass.
Scope by business unitA department has consistent job functions and a sponsor who can validate candidate roles.Cross-unit patterns are missed, and similar roles may be proposed separately for each unit.
Scope across all usersYou need an enterprise view of overlap and have the review capacity to handle a large candidate set.Results are harder to interpret and review effort grows with the population.
Pilot populationYou want to test the mining settings and review workflow before committing to a full run.A small sample can show patterns that do not hold across the wider organization.
Review by role owner before assignmentBusiness owners must approve each candidate and access changes carry audit or regulatory weight.Review takes time, and owners may need guidance to judge technical role definitions.
Review through simulation firstYou want to see how assignments would change before any production account is touched.Simulation depends on a correct development configuration and still needs human sign-off.
Iterative mining with reworkThe first candidate set is noisy and you expect to refine thresholds and scope over several passes.Each pass adds review cycles, so the schedule needs explicit checkpoints.

How to run a role mining pilot in midPoint

This sequence moves from accurate source data to reviewed business role candidates, so the role model is built from access owners have confirmed rather than from raw assignment counts alone. Each step ends with a check that the output is fit for the next one.

  1. Connect and reconcile the source application resources

    Connect each application that holds role assignments to midPoint through its ConnId connector, then run reconciliation so midPoint's view of accounts and entitlements matches what the target system actually holds. Accounts that cannot be correlated to a person should be listed and reviewed rather than dropped, because orphaned and duplicate accounts distort clusters. Confirm the connector's support status in the Evolveum catalog before relying on it for the pilot. The step is done when a sample of assignments in midPoint matches the target system's own admin view and the list of uncorrelated accounts has an owner.

  2. Confirm the application roles in scope

    Agree with the application owners which application roles, entitlements and systems are included in the pilot. Narrow the first run to one or two applications with clear role names and a business owner who can answer questions, rather than an entire estate. Record which roles are excluded and why, such as administrator or service roles that belong in a separate governance process. The step is done when the scope is written down, signed off by the owners, and each in-scope role has a named contact.

  3. Run role mining on a copy or pilot population

    Run the role mining analysis in midPoint against the agreed scope, using a copy of the data or a defined pilot population of users rather than the production assignment set. midPoint analyzes application roles and their assignment to users to detect clusters and patterns and suggests candidates for business roles, so review the parameters your team selects and keep a record of them for repeatability. The step is done when the run completes, the inputs and settings are recorded, and the output is saved for review without any change to live assignments.

  4. Check candidate data quality before owner review

    Before showing candidates to business owners, check the output against known facts. Look at clusters that contain users from unrelated departments, candidates that cover only one or two people, and application roles that appear in many candidates, since these signal either data quality issues or roles that need splitting. Compare a few candidates against the access the owners expect for real job functions. The step is done when the obvious anomalies are either explained or removed from the review set, and the analyst can state why each remaining candidate is worth an owner's time.

  5. Review candidates with business owners

    Walk through each remaining candidate with the business owner who knows the job function. For each one, the owner decides whether it describes a real business role, should be merged with another candidate, should be split, or should be rejected because the accumulated access is not justified. Capture the decision, the name the owner gives the role, and any access that should be removed rather than preserved. The step is done when every candidate has a recorded decision from a named owner and the counts of accepted, changed and rejected candidates are reviewed together.

  6. Map approved candidates into the role model

    Translate each approved candidate into a business role in the midPoint role model, with its application role inducements and the users or organizational units it should apply to. Decide up front how the new roles will be assigned, whether by manual assignment, organizational structure or an HR-driven rule, because mining output alone does not define the assignment policy. Test the new roles in a non-production environment and preview the effect on existing users before any change reaches production. The step is done when the approved roles exist in the role model, a preview shows the expected assignments for a sample of users, and owners have signed off the mapping.

Security and data handling risks during role mining

Role mining works from existing access, so it reflects whatever is already assigned, including excess rights and sensitive data. The cards below cover the risks that connect mining output to production access and the controls that keep candidate roles from being treated as approved.

Mining amplifies existing over-privilege

Role mining clusters the assignments that already exist. If a team has accumulated broad application roles over years, those excess rights can form a tidy-looking cluster and be proposed as a business role. Before mining, ask the application owners which assignments they consider legitimate, and remove or flag known excess access in the input data so the clusters do not reproduce it.

Role mining docs

Candidate roles look approved

A role proposed by mining is a suggestion, not a decision. Once it appears in the role catalog, business users may request it or assume it is sanctioned, and the clustering result can stand in for a review that never happened. Mark candidate roles clearly as unapproved, keep them out of assignment paths, and record who accepted each one before it becomes a business role.

Mining output contains personal data

Mining reads user-to-role assignments, which link named people to the applications and privileges they hold. Cluster reports, exports and screenshots therefore carry personal and entitlement data. Limit who can open mining results, restrict export, and decide with your privacy team how long analysis copies are kept and where they are stored.

Changes need simulation first

A role change proposed by mining can alter access for many accounts at once when it is provisioned. Run the candidate role and any resulting assignments through midPoint simulation in preview mode before anything reaches production systems, and check the projected grants and removals against the list of expected changes that the application owners signed off.

Administrator authorization for mining

Mining features expose the full access picture of the organization, so access to them should be limited to a small set of named administrators, granted through explicit midPoint authorizations rather than broad administrator roles. Confirm which roles can open, run and apply mining results, and review that list on a schedule. Hardening specifics are covered in the security hardening topic.

Audit trails of decisions

Each decision to accept, modify or reject a mined role should be recorded with the reviewer, the date, the input data set and the reason. Without this record, auditors cannot tell why a business role exists or whether it was derived from access that was never reviewed. Ask your team how midPoint audit logging is configured for these actions and where the records are retained.

How mining fits between source data and the role model

Mining starts with application resources whose assignments are pulled into midPoint through connectors. Role mining analyzes those assignments for clusters and proposes candidate business roles, which the business owner reviews. Only approved candidates become business roles, and any change to the role model passes through simulation before it reaches production accounts. The two trust boundaries are the owner review and the simulation step, where a person or a preview decides what goes live.

Mining proposes roles, but owner review and simulation gate every change.

Questions buyers ask about midPoint role mining

What effort does role mining ask of our organization?

Role mining needs people who know the applications and the business well enough to judge the results. Mining works from the existing application role assignments in your identity data, so the first effort is an export or connection to the sources that hold those assignments, plus agreement on which systems are in scope. The larger effort comes afterward: application owners and business managers must review each proposed cluster, confirm whether it matches a real job function, and decide which exceptions are legitimate. Plan for named reviewers with time in their calendars, a decision log, and a clear rule for what happens to assignments nobody can explain. Ask any partner to describe, in writing, who from your side is needed and for how long.

What drives the cost and duration of a role mining project?

The main drivers are the number of applications in scope, the quality of the assignment data, and the capacity of your owner reviewers. Each additional application adds extraction, normalization and mapping work, and each source with inconsistent account identifiers or undocumented role names adds cleanup. Review capacity often sets the pace more than analysis does, because every candidate business role needs a human decision. Costs are one-time for the mining engagement and recur only if you keep mining or move into ongoing role governance. The midPoint software itself carries no license fee, since midPoint has no enterprise edition. Ask for a quote that splits analysis, data preparation, review support and handover, and states the assumptions behind each line.

Can our own team run role mining without a partner?

Yes, if you have engineers who can operate midPoint and analysts who can read clustering output and challenge it. Evolveum's own documentation describes the mining feature as part of midPoint, so the tooling is available to any team that runs the platform. What a partner adds is experience with how clusters tend to mislead, such as a large group of users sharing a role for historical reasons rather than job function, and a repeatable review process. Your team should weigh the time its owners can give to review against the cost of an outside engagement. A useful test is whether your team can complete a pilot on one application and explain every proposed role to an auditor.

What should an outside partner deliver for role mining?

A good partner delivers more than a list of clusters. Ask for the data sources used, the extraction and cleaning steps, the cluster results with the users and application roles behind each one, and a written rationale for every proposed business role. The deliverables should also include the review records, the list of assignments kept as exceptions and why, and a recommendation on how the candidate roles should enter your role model, including which ones need owner sign-off before any change reaches production. Ask how the work will be tested before roles are applied, since midPoint offers preview execution mode for checking changes. Confirm the handover format so your team can rerun mining later.

Does role mining replace role design work?

No. Role mining produces candidates from existing access, and existing access reflects past decisions, including the ones that were wrong. Evolveum describes the motivation for mining as simplifying role-based access control, because business roles are hard to define top down and application role assignments tend to accumulate. The mined clusters show where your current access already forms patterns, which gives the role design work a starting point. Someone still has to define the business role names, decide inducements and organizational structure, set approval rules, and govern changes over time. Treat mining as the input to design, and budget for the design and governance work that follows.

Which midPoint version and licensing questions should we confirm first?

Confirm the midPoint release you will run, its support end date and whether your target applications are covered by a connector. Evolveum's release page lists midPoint 4.8 as long-term support until 17 October 2028, midPoint 4.10 as a feature release supported until 26 November 2027, and midPoint 4.9 support ending 18 October 2026. Check the Java and PostgreSQL requirements for that release, since the system requirements differ between versions. On licensing, midPoint's repository is licensed under EUPL-1.2 with Apache 2.0 as a secondary license, and Evolveum states that it has no enterprise edition. Evolveum sells support subscriptions with a Product Support tier and a Platform Subscription tier, and it does not publish prices, so request a quote for the tier you need.

How do we know the mined roles are safe to apply?

Do not apply mined roles directly to production accounts. Mined roles change who has access, so each candidate needs a review that compares the proposed role against current assignments, with a clear list of users who would gain or lose access. Run the change in a non-production environment first, then use midPoint's preview capability to see the effect on accounts before any change is made. Keep your existing access in place until owners approve the replacement, and record each decision so auditors can trace why a role exists. Ask any partner how they will test the rollout and how they will reverse a role that causes unexpected loss of access.

What a role mining engagement covers at DeployOpen

A role mining engagement at DeployOpen is fixed scope, and the scope, deliverables and timeline are agreed in writing before work starts. The engagement begins with a source data review: we inventory the application roles, the user-to-role assignments, the systems that hold them and the HR attributes that will be used to judge whether a cluster makes sense. Your team should confirm which applications are in scope, where the assignment data lives, how current it is, and which exports or connectors can supply it to the midPoint instance DeployOpen installs in your infrastructure. The review also records known gaps, such as orphaned accounts or roles that were assigned by hand years ago and never documented.

Next comes pilot mining on a bounded population, typically one department or one application family, so the team can see whether the clusters found in midPoint's role mining analysis correspond to real job functions. Candidate business roles are then reviewed in workshops with the people who own the applications and the people who know the work. Each candidate is accepted, split, merged or rejected, and the reason is written down. Your team should decide in advance who signs off on each business role and who can say that an access pattern is legitimate, because the mining output only suggests candidates.

The engagement ends with a handover of the approved candidate set: the agreed business roles and their application role membership, the decision log from the workshops, the configuration of the mining run, and the documentation needed to rebuild it. DeployOpen implements and documents the platform work in midPoint. We do not issue audit reports, attestations or certifications. If you need evidence for an assessment, confirm with your auditor which records they will accept and whether an independent review of the role model is required before the roles go live.

How DeployOpen delivers midPoint role mining

DeployOpen plans and runs midPoint role mining inside your own infrastructure, starting from the application role assignments you already have. The work moves from a written scope to a reviewed set of candidate business roles, with documentation and handover so your team can maintain the role model after the engagement.

How we scope

  • Agree in writing which applications, role assignment sources and user populations the mining run covers
  • Confirm the midPoint version and deployment topology the analysis will run against
  • Define what counts as a candidate business role and who in your organization approves them
  • Set out the deliverables, timelines and retest points before any analysis starts, since most engagements are fixed-scope

How we build

  • Extract application role assignments from connected target systems in a controlled, read-only way inside your environment
  • Run midPoint role mining to surface clusters and patterns, then review each candidate with your application owners
  • Test proposed business roles against sample users in a non-production setup before any production change is considered
  • Record the mining parameters, excluded populations and rationale behind each candidate for later audit review

How we hand over

  • Deliver a catalog of candidate business roles with their member counts, membership rules and open exceptions
  • Document the review decisions, including roles that were rejected or need further application analysis
  • Provide runbooks that explain how to rerun mining, interpret results and promote a role through your change process
  • Walk your identity and application teams through the outputs so they can own the role model going forward

How we support

  • Offer follow-up review of mining results as your application landscape and access patterns change
  • Support retesting of role changes after your teams implement them in production
  • Keep midPoint version planning in view, since release support dates differ across the 4.x line
  • Ongoing support, upgrades and continuous testing are available as a retainer, priced from the written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.