Zetect Expressions & Transforms Back to zetect.inSwitch portal ⇄

Where Value Sources Are Used

The same ${name} token syntax appears on several screens, but not every screen offers all three sources. What changes from screen to screen is which choices you have, which attributes the tokens read, and when the value is worked out.

Screens that use value sources

ScreenChoicesTokens readWorked out
Applications → (application) → Map → Provisioning mappingsIdentity, Expression, TransformThe person's identity attributesEach time Zetect creates or updates an account, as set by Send on
Applications → (application) → Map → Identity matchingAccount, Expression, TransformThe discovered account's attributesEach account sync, when accounts are matched to people
Privileged Access → Privileged Assets → (asset) → Map → Provisioning mappingsIdentity, Expression, TransformThe person's identity attributesEach time Zetect creates or updates an account on the asset
Privileged Access → Privileged Assets → (asset) → Map → Identity matchingAccount, Expression, TransformThe discovered account's attributesEach account sync on the asset
Identity → Identity Sources → (source) → Attribute MappingField, ExpressionThe fields of the source recordEach source sync
Applications → (application) → Sign-in → Single sign-on → Subject Attribute (NameID)Attribute, ExpressionThe person's identity attributesEach SAML sign-in to the application
Provisioning risk rules → Value transformTransform onlyOnly ${value}, the raw value being comparedEach time the risk signal is scored

Provisioning mappings

Each row fills one account attribute when Zetect creates or updates an account, whatever started it: a provisioning policy, a Who can access rule or an approved access request. Expressions and transforms read the person's identity attributes by their attribute names, as shown on the attribute chips under the editor.

  • A blank or missing result means the attribute is not sent.
  • Send on decides whether the row is used on Create & update, Create only or Update only. Nothing is sent when an account is deleted.
  • Changing a mapping affects the next create or update. It doesn't rewrite existing accounts on its own.

See Mapping Attributes and, for privileged assets, Managing Asset Accounts.

Identity matching

Each rule compares an identity attribute with a value worked out from the discovered account. The rule matches when an identity's attribute equals that value exactly. Rules run in order and the first match decides the owner.

  • Expressions and transforms read the account's attributes as reported by the connector.
  • A blank or missing result skips the rule, and the next rule is tried.
  • Shared accounts on a privileged asset are never matched to a person.

See Matching Accounts to Identities.

Identity source attribute mapping

Switch a row from Field to Expression to combine several source fields, for example ${givenName} ${sn} into displayName. Tokens name fields in the source record. A token for a missing field becomes empty text, and text with no tokens is used as a fixed value. Transforms are not available here. See Configuring Identity Sources.

Single sign-on NameID

For a SAML application, Subject Attribute (NameID) can be an Attribute or an Expression. An expression can mix fixed text and identity attribute tokens, such as ${username}@example.com, or be entirely fixed. If the expression produces a blank value, Zetect sends the internal user ID instead. See Configuring Single Sign-On.

Provisioning risk value transforms

Two provisioning risk signals accept an optional Value transform that normalises a raw value before it is compared. The transform has a single token, ${value}.

SignalWhat the transform receivesWhat it must produce
Dormant AccountThe account attribute named in Evaluate from (account attribute)A UTC timestamp such as 2026-08-01T10:00:00Z. A blank result falls back to the raw value.
Excessive EntitlementsThe Peer group attribute of the person and of every possible peerA value to group people by. People whose transformed values are equal are peers.

The windows-filetime starter in the editor converts a directory timestamp into the form Dormant Account needs. See Configuring Provisioning Risk and date-format.

Screens that don't use them

  • Identity writeback copies an account attribute into a blank identity attribute exactly as it is. See Writing Back to Identities.
  • Provisioning policies decide who gets which access. The account values they send come from the application's provisioning mappings. See Managing Provisioning Policies.