Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Mining Roles

Run role mining over the access people hold, review the role candidates it proposes, and accept the good ones as provisioning policies. Accepting changes nobody's access straight away.

Prerequisite

Accounts and entitlements are aggregated and matched to identities.

Required permission

Role Mining – View in an administrator group to see runs and candidates. Role Mining – Add to start a run. Role Mining – Edit to accept or reject a candidate.

Limits

One run queued or running at a time. Up to 500 candidates per run.

Starting a role mining run

To start a role mining run:

  1. Go to Govern access → Role Mining.
  2. Select New run.
  3. Under Segments, choose what to mine on:
    • Keep Include groups on to treat each resource group as a segment.
    • Tick the Identity attributes to mine on. Each value of a selected attribute becomes a segment.
  4. Under Thresholds, set the Threshold, Minimum segment size and Minimum entitlements.
  5. Leave Exclude access already granted by provisioning policies on unless you want existing birthright access proposed again.
  6. Select Start run.

The run works in the background and usually starts within 15 seconds. Follow it on the Runs tab. When it completes, its candidates appear on the Role candidates tab.

Run settings

FieldDescription
Include groupsTreat each resource group as a segment.
Identity attributesEach value of a selected attribute becomes a segment, for example every department.
ThresholdFrom 50% to 100% (default 80%). An entitlement is part of a role when at least this share of the segment's members hold it.
Minimum segment sizeSmaller segments are skipped. Default 3.
Minimum entitlementsCandidates with fewer shared entitlements are skipped. Default 1.
Exclude access already granted by provisioning policiesOn by default. Access that an existing provisioning policy already gives is not proposed again.

Reviewing role candidates

Role candidates tab

To review role candidates:

  1. Go to Govern access → Role Mining and select the Role candidates tab.
  2. Pick the Run. The latest run is selected first.
  3. Keep the Proposed filter, and sort by Affinity, Coverage or Members.
  4. Select a candidate to open it.
  5. Review its entitlements and members.

The candidate drawer lists each entitlement with its application or asset, the number of holders, and how common it is In segment and Outside. The members list shows who Has all the access and who is Missing some. If the role contains a segregation-of-duties conflict, the drawer says so.

Role candidate fields

FieldDescription
CandidateThe segment, such as "Members of group PRIV-DBAdmins" or "Job Title = Delivery Manager", with a Group or Attribute chip. An attribute candidate whose members match an existing group says "Matches group …". A badge counts any segregation-of-duties conflicts.
Members / EntitlementsPeople in the segment, and entitlements in the proposed role.
CoverageThe number of current user–entitlement holdings among the members that this role explains.
PurityHow consistently the members hold the role's entitlements. 100% means everyone holds all of them.
AffinityFrom -1 to 1: how much more common this access is inside the segment than outside it. Higher is a better role.
Would gainThe number of entitlements that members who are missing some would receive if the role is accepted.
StatusProposed, Accepted or Rejected.

Accepting or rejecting a candidate

To accept a candidate as a role:

  1. Open the candidate.
  2. Untick any entitlement you don't want in the role. Use Select all or Clear selection as needed.
  3. Enter the Role name. It names the provisioning policy, and the new group if you create one.
  4. Choose where to Grant the access to:
    • Everyone with this attribute value – the policy covers people whose attribute has this value, including people who join or move later.
    • An existing group – the policy covers the selected group's members.
    • A new resource group – Zetect creates a resource group with the segment's members and points the policy at it.
    A group candidate always grants to its own group.
  5. If the drawer reports a conflict, tick I understand this role contains a segregation-of-duties conflict.
  6. Select Accept.

Zetect creates the provisioning policy, and the accepted candidate shows its Provisioning policy and Role group. Members get the access the next time their account or group membership changes. Find and edit the policy under Managing Provisioning Policies.

To turn a candidate down, open it and select Reject. Rejecting only marks the candidate.

Example: accepting a department role

CandidateDepartment = Treasury · 12 members · 4 entitlements
MetricsCoverage 46 · Purity 92% · Affinity +0.81 · Would gain 2
Role nameTreasury Analyst
Grant the access toEveryone with this attribute value

Reviewing runs

The Runs tab lists every run: when it was requested and by whom, what it mined on, the threshold, the number of users, entitlements and candidates, how long it took, and its status: Queued, Running, Completed or Failed. A new run replaces nothing, so earlier runs and decisions are kept.

Troubleshooting

  • A run found no candidates. No segment had enough members sharing the same access. Try a lower threshold, a smaller minimum segment size, or more attributes.
  • You can't start a run. Another run is still queued or running. Wait for it to finish.
  • You can see a candidate but not accept it. You need Role Mining – Edit.