Guarding against a bad HR source of truth — threshold / circuit-breaker patterns before mass provisioning in ISC?

Hi all,

I’m looking for opinions and war stories on a design problem, not a specific bug.

Setup: ISC with an HRIS (Zoho People) as the authoritative source. Identity attributes such as department and business entity drive role assignment, and roles drive entitlements in downstream targets (Atlassian, GitHub, Google Workspace, and others). Aggregation → identity refresh → role recalculation → provisioning is fully automated, as intended.

What happened: the HRIS did not go down and the API did not error. It answered normally — but the department data on its side was corrupted for a portion of the population. ISC did exactly what it was configured to do: it trusted the source, recalculated roles, and revoked entitlements for several hundred employees, which translated into tens of thousands of provisioning calls to targets in a very short window. From a monitoring standpoint everything was “green”; the failure was in the content of a healthy response, not in availability.

The problem I want to solve: ISC currently applies whatever the authoritative source says with full trust. I’d like to introduce a “trust, but verify in specific cases” layer — a way for the platform to recognise an implausible bulk change in incoming data and not propagate it to access automatically, or at least to bound how much damage it can do before a human looks at it.

What I’ve considered so far:

  1. Circuit breaker on volume. Measure provisioning operations per unit of time (revokes counted separately) and stop the pipeline — e.g. shut down the VA — when a threshold is breached. Caps blast radius, but reacts after the first wave has already gone out, and the detection latency depends entirely on how fast you can observe the counter.
  2. Staging / review before provisioning. Hold recalculated access in a pending state and require approval when the change set exceeds N identities or N% of the population. Safest, but pushes toil onto the IAM team and slows down legitimate mass changes (reorgs, M&A).
  3. Snapshot and rollback. Keep a known-good state of identity attributes / role assignments and be able to restore it. Doesn’t prevent anything, but turns a multi-day manual recovery into a controlled operation.

Questions for the community:

  • Is there anything native in ISC for this that I’m missing? Something like a sanity/threshold check on aggregation (e.g. “abort if more than X% of accounts changed a given attribute”, similar in spirit to the optimized-aggregation and account-delete-threshold protections), or a guard specifically on the provisioning side rather than the aggregation side?
  • Has anyone implemented a pre-provisioning guard using Identity Attribute transforms, Identity Profile logic, or an intermediate attribute — e.g. holding the previous value and refusing to accept a new one when it fails a plausibility rule?
  • Are there sensible patterns for detecting this via the Search API / Event Triggers (Identity Attribute Changed, Account Aggregation Completed) fast enough to be useful, and for programmatically pausing the pipeline from a trigger?
  • More broadly: has anyone genuinely solved the “authoritative source lies to you” problem, or is the accepted answer that data quality is the HRIS owner’s responsibility and IGA should only invest in fast rollback?

Interested in any experience here, including “we tried X and it caused more problems than it solved.”

Thanks.

Hi Maksim,

My background includes ISC JML automation with HR systems and Active Directory, plus role-based access models. I haven’t validated this exact Zoho failure scenario, so the following is a design proposal rather than a tested implementation.

Two documented controls have narrower scope than the protection you need:

  • The account deletion threshold concerns accounts missing during aggregation. It is not a threshold for changed department values on accounts that remain present.
  • Identity Attributes Changed occurs during identity refresh and is FIRE_AND_FORGET. I would use it for detection, without treating it as a synchronous approval gate that blocks the underlying change.

For this scenario, I would evaluate validating the HR batch before it becomes the authoritative input consumed by ISC. Compare proposed department/business-entity changes against the last accepted snapshot, using both absolute counts and percentages within affected populations. Hold suspicious batches for review, and publish approved data atomically so ISC cannot read a partially updated snapshot.

The critical tradeoff is stale access: holding mover data must not indefinitely block genuine terminations. I would design a separately verified urgent-leaver path, time-limited holds, and an auditable approval process for legitimate reorganizations.

Before rollout, test corrupted department data, an approved bulk reorganization, partial input and an urgent termination during a hold. A snapshot helps recovery, but restoring attributes alone should not be assumed to reverse every downstream provisioning effect.

Can your Zoho integration consume a validated staging dataset, or must ISC read Zoho directly? That determines where this control could realistically sit.

AI assistance: ChatGPT helped research and structure this draft. Product statements reference SailPoint documentation; the proposed design has not been sandbox-tested.

Hi @maksimkapustin,

Interesting discussion! Building on @Saurabh1995’s answer, I’d add a couple of considerations from an IAM architecture perspective.

Measure access impact, not just HR attribute changes, a threshold based on the percentage of identities changing departments is useful, but it doesn’t necessarily reflect the actual provisioning impact.

For example, X numbers employees changing departments could trigger hundreds or even thousands of entitlement revocations, depending on the role model.

I’d consider monitoring two dimensions:

  • Data changes: Number/percentage of identities with modified HR attributes.

  • Access impact: Estimated number of role assignments and downstream entitlements that could be revoked.

The second would require custom logic, since I’m not aware of a native ISC pre-provisioning impact simulation.

Controlling aggregation vs. controlling the data, an alternative to staging could be disabling the scheduled HR aggregation and triggering it through the API after external validation.

However, this introduces a potential race condition: Zoho data could change between validation and the actual aggregation. Having ISC consume an approved snapshot would provide stronger protection.

Last point is to be careful with reactive circuit breakers, Account Aggregation Completed is useful for detecting anomalies, but it can’t synchronously block provisioning. Similarly, stopping a VA wouldn’t necessarily stop provisioning through SaaS connectors.

I agree with Saurabh that prevention should ideally happen before ISC consumes the authoritative data, with monitoring and recovery mechanisms as additional safeguards.

Maksim since your original post, have you found or implemented an approach that addresses this?

It would be great to hear what you ended up doing, what worked (or didn’t ;o), and whether you found any limitations. Your feedback could be really valuable for others facing similar scenarios!

And thanks for sharing this use case ! :t_rex:

We built a circuit breaker for Joiner, Mover, and Leaver events in SailPoint ISC. Unfortunately, the solution didn’t hold up in production. The volume of processing was so high that identity processing got stuck in an infinite loop. It worked in small, controlled environments, but we had to roll it back in production.


Architecture

Joiner and Leaver

  1. Identity Attribute Rule: Calculates the Lifecycle State (LCS). If the identity has an account in the control source, the rule sets the LCS to CBJoiner or CBLeaver.
  2. Workflows:
    • Workflow A: Monitors for newly created identities and creates an account for each one in the Joiner control CSV source.
    • Workflow B: Triggered when the authoritative source aggregation finishes. It retrieves the accounts in the Joiner control CSV source:
      • More than 200 accounts: Sends a form to an approver to authorize the joiner executions.
      • 200 or fewer accounts, or approved: Sends an HTTP request to clear the CSV source, which releases the identities from the circuit-breaker state.

Mover (works only in environments without criteria-based roles)

  1. Workflow A: Validates our attribute-change criteria to identify a mover, then creates an account for that identity in a CSV source.
  2. Workflow B: Triggered when the HR source aggregation finishes. It counts how many accounts (valid movers) are in the delimited-file source:
    • Threshold exceeded: Sends a form to an admin to approve or deny.
    • Approved, or threshold not reached: Paginates through the CSV accounts, generates the certification campaigns, and deletes accounts one by one until the source is empty.


What Went Wrong

Leaver: race condition

Sometimes ISC processed the leaver before the account in the CSV source was correlated to the identity. When the Attribute Rule ran, it found no control account, so it didn’t set CBLeaver, and the real leaver process ran.

Joiner and Mover: clearing the sources

The problem was the step that clears the sources. Source accounts can’t be reset or deleted while an aggregation or identity refresh is running. We have a large environment with many connections and very large sources, so some aggregation or refresh is almost always running.

  • The Mover circuit breaker took a good minute to run, and it started to impact the rest of the environment.
  • Many identities got stuck in the CBJoiner state because we couldn’t clear the source.


Outcome

We had to roll back. The solution works in small, controlled environments, but it doesn’t scale to our production volume.

In my experience, the best approach is to build these guardrails on the HR side rather than in ISC, as I’ve done several times before. As things stand, we can’t build something reliable in ISC for these use cases.

Hi all,

Wow, thank you all for such detailed answers. @YanCoelho, special thanks for sharing a real production story, including the part where it didn’t work. That kind of experience is rare and very valuable. The race condition with leavers and the problem with clearing sources during aggregation or refresh are exactly the kind of things that are hard to see on paper.

@sbisson, good point about measuring access impact and not only attribute changes. Also, thanks for the note that stopping the VA would not stop provisioning through SaaS connectors. That changes how I look at the “circuit breaker on volume” option.

I agree that the best place for prevention is before ISC consumes the data. But I still believe ISC itself needs some kind of safety fuse. The HR-side validation protects against one source of bad data, but ISC can receive implausible mass changes from other places too: another authoritative source, a misconfigured transform, a role criteria change. Today the platform trusts the input completely and has no native way to say “this change set is too large, stop and ask a human.” Something similar to the account deletion threshold, but for attribute changes and for provisioning volume, would be a very reasonable product feature. Yan’s experience shows that building it ourselves with workflows and control sources doesn’t scale, which is one more argument that this should be native.

To answer your questions:

  • @Saurabh1995: our current integration reads Zoho directly. An intermediate validated layer is a good idea, but it needs detailed design. We haven’t really considered it before, so thank you for the direction.
  • @sbisson: nothing implemented yet. The idea we have right now is to detect a spike in API requests and automatically shut down the VA when a threshold is crossed. But this approach has obvious downsides: it reacts only after the first wave of changes has already gone out, it depends on how fast we can observe the counter, and, as you pointed out, it wouldn’t stop provisioning through SaaS connectors at all. So for now it looks more like a partial damage limiter than a real solution.

I’m also thinking about raising this as an idea on the SailPoint Ideas portal. If anyone here would support it, please let me know.

Thanks again!