Expressions & Transforms Overview
Wherever Zetect has to work out a value from your data, you choose where that value comes from. You can copy one attribute as it is, write an Expression that fills a text template with attribute values, or write a Transform: a small JSON definition that looks values up, makes decisions, reformats dates or chains several steps. This guide explains how each works, where you can use them, and every transform type with an example.
- Build account values from identity data. Fill each account attribute an application or privileged asset needs, such as a login name, display name or directory location, from the person's identity attributes.
- Match accounts to the right person. Compare a cleaned-up or combined account value with an identity attribute when the raw account data doesn't line up on its own.
- Combine source fields on import. Join several identity source fields into one Zetect attribute with an expression.
- Normalise values before risk scoring. Convert a raw timestamp or attribute value into a form a provisioning risk signal can compare.
- Write it once, use it anywhere. Expressions and transforms work the same way on applications and privileged assets, so a definition written for one works unchanged on the other.
Before you begin
- Know the names of the attributes you want to use. For identity attributes, see Managing Identity Attributes. For account attributes, see Aggregating Accounts and Entitlements.
- To change mappings on an application, onboard it first. See Onboarding an Application.
Administrator access to the console, with access to the screen where you edit the mapping.
Applications, privileged assets, identity sources, single sign-on and provisioning risk rules. See Where They Are Used.
Key concepts
- Source
- The dropdown on a mapping row that says where the value comes from: Identity (or Account), Expression or Transform.
- Value source
- This guide's name for any of the three choices, and for the static values you can build with them.
- Expression
- Text that may contain
${attributeName}tokens. Each token is replaced with that attribute's value. Text with no tokens is a fixed value. - Transform
- A JSON object with a
type, such aslookup,date-formatorpipeline, and the options that type needs. - Token
- A
${name}placeholder. In a transform, every text option can contain tokens. - Pipeline
- A transform that runs a list of transforms in order, handing each result to the next step.
Tasks in this topic
Build
Audit events and reports
Saving the mappings or matching rules of an application is recorded in the audit log as an update to that application. See Reviewing the Audit Log.
