Defining segregation of duties rules in midPoint

A plan for modeling conflicting roles as exclusion policy rules in midPoint, deciding between enforcement and reporting, rolling out gradually and checking SoD inside certification campaigns.

On this page

Why segregation of duties rules in midPoint start with defining conflicts

midPoint models segregation of duties through policy rules. A policy rule is a constraint that midPoint evaluates against identity data, so the conflict you care about, such as one person being able to both create a supplier and approve its payments, becomes a condition the platform can check rather than a note in a spreadsheet. Evolveum describes policy rules as a generic mechanism for constraints. Its illustrative example is a rule that each department must have exactly one manager. An SoD rule follows the same pattern: it names the roles or entitlements that must not be held together and defines what midPoint does when they are. Before you configure anything, write each conflict as a plain statement that a reviewer or auditor could read and test.

The exact SoD rule set is your organization's decision, not a product default. It depends on your control objectives, your applications, the roles already in your role model and the transactions your finance, procurement and operations teams actually perform. Start by listing the conflicts your existing control documentation, internal audit findings and business process owners already recognize, then confirm which of those conflicts can be expressed from data midPoint holds, such as role assignments, organizational membership or synchronized entitlements. Conflicts that depend on approvals or transaction history outside midPoint need a different evidence path, and you should identify those early.

Defining conflicts is worth doing before the first access certification campaign or audit cycle, because reviewers need to know what an SoD flag means and auditors will ask how the rule set was chosen and who approved it. Confirm with your compliance lead which frameworks and control owners must sign off on the list, and ask your implementation partner to show how each rule maps to a stated objective. Whether to enforce a conflict or only report it is a separate choice that comes after the definitions are settled.

Enforcement, reporting and warning modes compared

This table compares blocking enforcement, report-only detection and a staged rollout that moves from warnings to enforcement for SoD rules. Read each row against your own conflict list, since the exact action names and behaviors depend on your midPoint version and how the rule is attached to roles and assignments. The main takeaway is that enforcement stops conflicts earliest but puts the most friction on requesters and approvers, so most teams start in reporting mode and tighten it once the existing conflicts are understood.

ModeWhen it fitsEffect on business users and approversOperational risk
Enforcing (blocking)Conflicts are well understood, few existing violations exist, and the business accepts that a request may be refusedRequests that create a conflicting assignment are stopped or need an explicit exception; requesters may not know why until toldBlocks legitimate work if the rule is too broad; existing conflicts can surprise owners at the next recalculation
Reporting onlyFirst rollout, inventory of existing conflicts, or rules still being tuned with the businessNo change to requests; violations appear in reports and reviews for someone to act onConflicts stay in place longer; reports must be read and owned or the rule has no effect
Warning modeTeams want to show requesters a conflict before enforcing, without refusing the requestRequesters see a warning and can proceed, which keeps work moving but depends on the requester reading itWarnings are easy to ignore; track how often they are overridden before tightening
Staged rolloutLarge role catalogs or several departments where one switch would disrupt operationsEach stage adds scope, for example one department or one system, with communication before each stepNeeds a clear record of which rules are in which stage and when each stage is reviewed
Certification-time checksCertification campaigns must surface SoD conflicts to reviewers before the next review cycleReviewers see conflicting access in their review items and decide whether to keep or remove itDepends on campaign design and reviewer training; reviewers may approve conflicts without context
Approval-time checksApprovers should see a conflict before granting access they cannot later justifyApprovers receive more information in each approval, which can slow decisionsApprovers may rubber-stamp requests if the conflict is shown without a clear compensating-control path
Exceptions handlingA conflict is justified by a documented business need or a compensating controlOwners request a time-bound exception that is approved and visible in reportsExceptions tend to accumulate; set an expiry and review them in each cycle

Setting up SoD rules in a gradual rollout

This sequence moves segregation of duties rules from agreed business conflicts to enforced policy in midPoint without blocking work on day one. Each step produces an artifact or check that the next step depends on, so the rules reach enforcement only after owners have confirmed what they match.

  1. Inventory conflicting access with business owners

    Work with finance, operations, IT and risk owners to list role combinations that must not sit with one person, along with the reason for each conflict. Record each pair or set as a named conflict with an owner who signs off on it. The step is done when every conflict has a written rationale, an accountable owner and a list of the midPoint roles or entitlements involved, confirmed by the people who run those systems.

  2. Model conflicts as policy rules in a test environment

    In a non-production midPoint environment, translate each agreed conflict into an exclusion policy rule that references the relevant roles or entitlements, following the generic policy rule mechanism described in Evolveum's feature documentation. Keep one rule per conflict so that each can be reviewed, disabled or promoted separately. Check that the rule fires on a test assignment that should be blocked, and that it stays silent on a test assignment that should be allowed. Done means every rule passes both test cases.

  3. Check rule matches against known users

    Before any reporting run, compare the rule matches against people whose access the owners already know. Ask the owners to confirm a sample of flagged users and a sample of users who should not be flagged. Mismatches usually point to a role that is named too broadly, an entitlement that is inherited through an unexpected path, or a conflict that needs a narrower scope. Adjust the rule, record the change and repeat the check until the owners accept the matches. The step is complete when the sample agrees with the owners' knowledge.

  4. Run the rules in reporting mode

    Deploy the tested rules to production with their behavior set to report rather than enforce, so midPoint records violations without blocking assignments or changing access. Schedule the evaluation so that the results are refreshed regularly, and confirm with your platform team how the findings are stored and who can view them. Done means the production rules evaluate against the live identity data and the findings are visible to the people who will review them.

  5. Review findings with rule owners

    Walk through the reported violations with each conflict owner. For every finding, decide whether the access is a genuine conflict, a false positive caused by rule scope, or an approved exception that needs a documented compensating control. Feed false positives back into the rule definition and record exceptions with an owner and a reason. The step closes when every reported finding has a recorded decision and the rule set has been updated for the false positives found.

  6. Confirm enforcement candidates

    Select the rules that have stable matches, clear owners and no open exceptions to be considered for enforcement. Leave rules with unresolved findings in reporting mode. Agree with each owner what happens when enforcement blocks an assignment, including who receives the notice and how an approved exception is granted. Done means a written list of rules approved for enforcement, the rules still in reporting mode and the reason each remains there.

  7. Move selected rules to enforcement

    Switch the approved rules from reporting to enforcement and test one blocked assignment and one allowed assignment in production-like conditions before relying on the change. Monitor the next evaluation cycle for unexpected blocks and keep the reporting-only rules running in parallel. The step is done when the enforced rules block the test assignment, allow the permitted one and generate no unexpected blocks in the first cycle after the change.

  8. Include SoD checks in certification campaigns

    Configure the access certification campaigns so that reviewers see the current SoD findings next to the access under review, and so that unresolved violations are presented for decision rather than silently carried forward. Confirm with the reviewers and the audit team which evidence the campaign will retain for each conflict. Done means a test campaign shows the expected SoD information to a reviewer and records the outcome for a flagged user.

Running SoD checks inside certification campaigns

The goal of this section is to let a reviewer see a segregation of duties conflict next to the access it concerns, so the reviewer can decide on the conflicting assignment with the relevant context in front of them. The rules you defined earlier only help certification if their results reach the people making the decision. In practice that means deciding which SoD findings should appear in a campaign, which assignments they attach to, and whether a reviewer can see the conflicting role on the same screen as the one being certified. Write these decisions down before the first campaign runs, because they determine what an auditor will later be shown as the reviewer's basis for approval.

The exact presentation of SoD results inside campaigns depends on the midPoint version and on how your deployment is configured, including the campaign definition, the reviewer views and the policy rules attached to the roles. Do not assume a screen or column behaves a particular way because a neighboring feature does. Confirm the behavior against the release you plan to run, using the midPoint releases page to check which versions are supported, and against the current Evolveum docs on midPoint features for the policy rule capabilities your version provides. Treat any statement from a vendor page, including this one, as a starting point for your own test rather than as a guarantee of the reviewer experience.

Run a pilot campaign on a small, representative population that includes at least one known conflict, and record what the reviewer sees at each step, what the case outcome records, and what the exported report shows. Ask a reviewer who was not involved in the design to walk through the case without guidance, and confirm that the conflict is visible and that the decision it produces is stored in a form your auditors can query. Only after the pilot matches your written expectations should you rely on campaign SoD context as audit evidence, and repeat the check after each midPoint upgrade or change to campaign definitions.

Security and operational considerations for SoD rules

An SoD rule set is only as trustworthy as the process that defines, changes and records it. The cards below cover who may edit rules, how changes are reviewed and versioned, how decisions are kept as evidence, and how bulk loads and connector syncs can quietly create conflicts that the rules never saw.

Restrict who edits rule definitions

Exclusion rules and the roles they reference are configuration with direct control over access decisions. Limit rights to create, change or disable SoD policy rules to a small named group, separate from people who approve access requests or run certification campaigns. Review midPoint's administrator and authorization roles to confirm that no broad administrative account can switch a blocking rule to reporting only without a second person noticing. Confirm the exact authorization actions with your midPoint version before writing the policy.

midPoint features

Version control every rule change

Keep rule definitions as exported XML or object files in a Git repository, so each change to a conflict pair, enforcement mode or scope has an author, a reason and a reviewer. Require a pull request review before a rule reaches production, and record the same change in your change management system. Compare the repository state with the running system during audits, because a manual edit made in the user interface will otherwise drift from what the team approved.

Protect evidence of rule decisions

When a request is blocked, overridden or approved despite a conflict, the record of that decision is audit evidence. Decide which entries must be retained, who can read them, and how long they stay in the audit database before any cleanup job runs. Test that an auditor can reconstruct which rule fired, which version of the rule applied and who accepted the risk. Confirm the retention and cleanup settings for your deployment before relying on them.

Watch for conflicts from bulk loads

Imports, CSV loads and connector synchronization can assign conflicting roles without passing through the request workflow, so preventive checks may never run. Schedule a recurring report that evaluates the full population against every active SoD rule, and compare its results after each large import or reconciliation run. Review the resource mapping and inbound rules for any target system that can add roles directly, since those paths are the most common source of unexpected conflicts.

Test rules before enforcement

A rule that blocks legitimate work will be bypassed or disabled under pressure, which weakens the control more than a rule that only reports. Run new rules in reporting mode against real assignments, review the hits with the business owners, and tune the conflict definitions before any blocking step is turned on. Keep a short written list of accepted exceptions with an owner and an expiry date, so that exceptions do not become permanent by default.

Questions buyers ask about SoD rules in midPoint

Can our own team define segregation of duties rules in midPoint without a partner?

Yes, a team that already runs midPoint can model exclusion rules, but the harder part is the business decision behind each rule. Someone has to agree which role pairs conflict, who accepts residual risk, and whether a conflict blocks a request or only gets reported. Engineers can build the policy rules in a few iterations, while the control definitions usually need finance, operations and internal audit to sign off. Teams without midPoint experience often underestimate how much time goes into testing rules against real role assignments. Ask a partner to state in writing which parts of the work they will do and which parts need your control owners.

What drives the effort of an SoD rollout in midPoint?

The main drivers are the number of conflicting role pairs, the number of connected systems that carry those roles, the quality of existing role assignments, and how quickly business owners can respond. Each additional connected system adds mapping work and more entitlements to test. Messy or missing role data forces cleanup before any rule can produce useful results. Slow owner availability stretches the schedule more than any technical step. A written scope should list the conflict matrix size, the systems in scope, the data cleanup assumed and the owners named for each decision.

How long does a segregation of duties rollout in midPoint take?

Duration depends on scope more than on the midPoint software itself. A rollout limited to a few conflict pairs in one system is much shorter than one covering many applications, multiple business units and enforcement across all requests. Plan separate phases for rule design, reporting-only testing, owner review of findings and enforcement. Each phase waits on people as much as on configuration. No duration is set here because it depends on your environment, so ask any partner for a phased timeline tied to named milestones and the owners who must act at each one.

What does the client need to provide for an SoD engagement?

The client typically provides role owners who can explain what each role grants, control owners who define which combinations are unacceptable, and access to a test environment that mirrors production role data closely enough to be useful. You also need an accurate export of role and entitlement data from the systems in scope. Internal audit or compliance should review the conflict matrix before enforcement is switched on. Ask the partner to list these inputs in the written scope, with a named contact for each and the decisions each contact must make.

Why do we need a test environment for SoD rules?

A test environment lets you run exclusion rules against copies of real assignments without blocking live requests or triggering false provisioning changes. Rules are usually first run in reporting mode, which shows conflicts without stopping anything. Testing there also reveals roles that look conflicting by name but are harmless in practice, which saves owners from reviewing noise. Your environment must be self-hosted like production, so confirm with your partner how the test copy is built and refreshed. Check the midPoint deployment requirements for your chosen version before sizing it.

Which parts of an SoD setup are one-time and which recur?

One-time work includes designing the conflict matrix, building the initial exclusion rules, cleaning role data and completing the first reporting cycle. Recurring work includes reviewing new conflicts as roles change, updating rules when systems or job functions change, and keeping owner contacts current. Each new connected system or business role also adds recurring review load. Ask for the one-time and recurring items to be priced or sized separately in any quote, along with the support model if you buy a retainer for ongoing maintenance.

What should a written SoD scope include before work starts?

A written scope should name the systems and role sets in scope, the conflict pairs or matrix to be modeled, the enforcement mode for each rule and the phases with exit criteria. It should state the client inputs, the owners responsible for each decision, the test environment, and the handover of rules and documentation. It should also say which audit evidence is produced and whether retesting is included. Most engagements are fixed-scope, so these items should be agreed in writing before work begins. DeployOpen does not publish a price list, so a quote follows from that scope.

Decision path from conflict to enforced rule

The path starts with a pair of roles that should never be held by one person, such as a role that requests payments and a role that approves them. The team models that pair as an exclusion policy rule and runs it in reporting mode first, so existing assignments are listed without being blocked. Reviewers then decide whether to enforce the rule, keep it in reporting, or redesign the roles. Certification campaigns feed back into the review step, so each conflict found during a campaign is checked against the rule before any decision is made.

Shows how a role conflict moves from modeling through reporting to an enforcement decision.

How DeployOpen scopes and delivers midPoint SoD rules

DeployOpen approaches segregation of duties in midPoint as a written, fixed-scope engagement: the conflicting role pairs, the enforcement mode for each rule and the campaign checks are agreed before any configuration starts. The build runs in your own infrastructure, with testing, documentation and handover planned from the first sprint.

How we scope

  • Inventory the conflicting role and entitlement pairs your control owners have named, with the business reason for each.
  • Agree in writing which rules enforce at assignment and which only report, and which exceptions need an approver.
  • Confirm the midPoint version, repository and connected target systems that the SoD rules will read from.

How we build

  • Model exclusion policy rules against your role model, starting with a small set of high-impact conflicts.
  • Run reporting-only rules first, review the matches with role owners, then move selected rules to enforcement.
  • Test each rule with known conflicting and clean test accounts, and wire the SoD checks into certification campaigns.

How we hand over

  • Document each rule with its owner, scope, enforcement mode, exceptions and the test cases that prove it fires.
  • Deliver the configuration as versioned objects so your team can review changes and repeat deployments.
  • Train administrators on how to add rules, read violation reports and decide on exception requests.

How we support

  • Retest SoD rules after midPoint upgrades, role model changes and new connected systems.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
  • Confirm with your team which support tier and response terms apply to your midPoint environment before work starts.

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.