Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Matching Accounts to Identities

Decide which person owns each account read from an application, and which accounts belong to which groups. Identity matching gives accounts an owner; group membership links accounts to the entitlements they hold. Both are applied when the application syncs.

Prerequisite

The account and group attributes are listed under Attributes. See Mapping Attributes.

Required permission

Applications – View in an administrator group.

Applies to

Provisioning applications.

Adding identity matching rules

Each rule compares an identity attribute with a value from the account. Rules run in order and the first match decides the owner. An active account that no rule matches has no owner.

Identity matching section

To add an identity matching rule:

  1. Open the application and select Identity matching under Map.
  2. Select Add rule.
  3. After Match when, choose the identity attribute, for example Username or Email.
  4. After equals, choose where the account value comes from:
    • Account – one account attribute, for example sAMAccountName.
    • Expression – a template built from account attributes, for example ${givenName}.${sn}.
    • Transform – a JSON transform of account attributes.
  5. Choose the account attribute, or write the expression or transform.
  6. Use the up and down arrows to put the most reliable rule first.
  7. Select Save rules in the bar at the bottom, or Discard.
  8. Run an account sync so the rules are applied. See Syncing accounts.

The Accounts tile shows how many accounts have been read, and No owner how many active accounts no rule matched. Select No owner to see them. To remove a rule, select its bin icon and save.

Rule 1Match when Username equals Account sAMAccountName
Rule 2Match when Email equals Account mail

Setting up group membership

A group membership rule reads the relationship from one side: a group that lists its members, or an account that lists its groups. It then matches each listed value to an account or a group.

Group membership section

To add a group membership rule:

  1. Open the application and select Group membership under Map.
  2. Select Add rule.
  3. Choose which side lists the relationship: From groups to accounts or From accounts to groups.
  4. Optionally enter an Entitlement Type, such as Security Group, so the rule applies to one kind of group only. Leave it blank for all.
  5. Fill in the references:
    • For From groups to accounts – enter the Group Attribute that lists members, choose what Member References Point To (Accounts only, Entitlements only or Accounts or Entitlements), and set Match Account By and, if needed, Match Entitlement By.
    • For From accounts to groups – enter the Account Attribute that lists groups and set Match Entitlement By.
  6. If groups contain other groups, tick Resolve nested groups and set a Max depth.
  7. Read the sentence at the top of the rule to check it says what you mean.
  8. Select Save Mappings in the bar at the bottom.
  9. Sync groups. See Syncing groups.

Leave Match Account By or Match Entitlement By blank to use the account's or group's ID in the application. Choose Entitlements only to link groups to other groups, such as roles to the policies attached to them. Membership is worked out again after every account sync and group sync.

Rule 1Each group lists its members in member. Match each one to an account by distinguishedName.
Rule 2Each account lists its groups in memberOf. Match each one to a group by distinguishedName.

Troubleshooting

  • Many accounts have no owner. Check that the identity attribute in your first rule is filled in for most people, and add a second rule on another attribute, such as Email.
  • Groups have no members after a group sync. Add a group membership rule and sync groups again.
  • Many members are unresolved. The rule's Match Account By or Match Entitlement By attribute probably doesn't hold the value the group lists.