Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Mapping Attributes

Tell Zetect which fields an application's accounts and groups have, then decide what Zetect sends when it creates or updates an account. Provisioning mappings, identity matching and writeback can only use attributes listed under Attributes.

Prerequisite

The application's connection test succeeds and an agent is online.

Required permission

Applications – View in an administrator group.

Applies to

Provisioning applications.

Discovering account attributes

Attributes come from the catalog entry, or are read from the connected application with Discover from target. Both kinds are read-only.

Attributes section with Account selected

To discover and review account attributes:

  1. Open the application and select Attributes under Map.
  2. Make sure Account is selected in the switch at the top right.
  3. Select Discover from target.
  4. Find an attribute with All, Required, Multi-valued or Used in mappings, or type in Search attributes.

Each row shows the display name with the name the application uses underneath, for example Email and mail; the data type, such as Text, Number, Yes or no, or Date; and tags. Required means the application needs a value when an account is created. Multi-valued means the attribute can hold several values. Mapped means a provisioning mapping uses it.

Adding a custom attribute

Add a field the catalog doesn't include. Custom attribute names must be unique.

To add a custom attribute:

  1. On Attributes with Account selected, go to Custom Attributes and select Add Attribute.
  2. Enter the details:
    • Name – for example employeeNumber.
    • Data Type – for example Text.
    • Description – for example "HR employee number".
    • Required and Multi-valued – switch on if they apply.
  3. Select Add Attribute.

To change or remove a custom attribute, use the row's actions menu and select Edit or Delete.

Reviewing group attributes

Group attributes are the fields a group has in the application. Zetect uses them when it syncs groups and when it changes group membership. An application can have several kinds of group object, such as groups, roles and policies, each with its own table and its own identity attribute.

Attributes section with Group selected

To review group attributes:

  1. Open the application, select Attributes under Map, and select Group in the switch at the top right.
  2. Select Discover from target.
  3. Find an attribute with All, Required or Multi-valued, or type in Search attributes.
  4. Review each table. The heading is the object type, for example Security Group, and identity names the attribute that uniquely identifies a group of that type, for example sAMAccountName.

A multi-valued attribute such as member usually holds the group's members. When the application sends an object type with each group, Zetect uses that type's identity attribute and attributes for it, and sends the type back to the agent when it grants or removes that group.

Adding provisioning mappings

Provisioning mappings decide what Zetect sends when it creates or updates an account. Each row fills one account attribute from the owner's identity.

Provisioning mappings section

To add a provisioning mapping:

  1. Open the application and select Provisioning mappings under Map.
  2. Select Add Mapping.
  3. Choose the Account Attribute. The list comes from Attributes.
  4. Choose the Source:
    • Identity – copies an identity attribute unchanged.
    • Expression – a fixed value, or a template with ${attrName} tokens, for example ${firstName}.${lastName}.
    • Transform – a JSON definition worked out at provisioning time. The Insert: buttons add a starter for concat, lookup, decision, date-format, windows-filetime or pipeline. Mistakes are flagged as you type.
  5. Fill in the Value. To insert ${name}, select an attribute chip under the editor.
  6. Choose Send on:
    • Create & update – the default.
    • Create only
    • Update only – updates include changing an account and adding or removing an entitlement.
  7. Select Save Mappings in the bar at the bottom, or Discard.

Mappings apply to the next create or update Zetect sends. They don't rewrite existing accounts on their own, and nothing is sent when an account is deleted. If a transform can't be worked out at provisioning time, the attribute is left out rather than sent empty.

If a notice lists required attributes with no mapping, select Add rows for them to add a row for each. That's fine to ignore if the connector fills them in itself; otherwise new accounts may fail to create.

sAMAccountNameIdentity · username · Create only
displayNameExpression · ${firstName} ${lastName} · Create & update
mailIdentity · email · Create & update
departmentTransform · lookup on department · Create & update

The lookup transform in the last row could be:

{
  "type": "lookup",
  "input": "${department}",
  "mapping": { "IT": "Information Technology", "HR": "Human Resources" },
  "default": "Unknown"
}

For every transform and more examples, see Worked Mapping Examples and Using Transforms.

Troubleshooting

  • Discover from target fails. Check the connection and that an agent is online.
  • New accounts fail to create. Check the Worth checking notice for required attributes that have no mapping.