Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Managing Identity Attributes

Identity attributes are the fields on every person's profile, and the rules their values must follow. They decide what the Add User form asks for, how a person's page is laid out, and what identity sources and provisioning can map to. Add custom attributes, set which are required or unique, and give values a format rule.

Required permission

Identity → Attributes – View in an administrator group.

Limits

Built-in attributes can't be deleted. Only their Unique switch and format rule can be changed. An attribute's Name can't be changed after it is created.

Finding an attribute

Attributes list

To find an attribute:

  1. Go to Identity → Attributes.
  2. Select a pill to show All, Builtin or Custom attributes, or type in Search attributes….
  3. Select a row to open the attribute. A custom attribute opens for editing. A built-in attribute opens read-only, except for its Unique switch and format rule.
ColumnDescription
Display NameThe label shown on forms, with the attribute's system name underneath.
ChipsEncrypted: stored encrypted. Unique: no two people may share a value. Format rule: values must match a pattern. Hover the chip to see the pattern.
Data TypeThe kind of value. See Attribute data types.
Default ValueThe value used when none is given, or a dash.
SourceBuiltin (supplied by Zetect) or Custom (added by your organisation).
StatusActive attributes appear on forms. Inactive ones are hidden from all forms.

Adding a custom attribute

Add Attribute panel

To add a custom attribute:

  1. Go to Identity → Attributes.
  2. Select Add Attribute. The Add Attribute panel opens.
  3. Enter the Name. This is the system name that mappings and ${...} expressions use.
  4. Enter the Display Name.
  5. Choose the Data Type.
  6. Optionally set a Default Value, a Section and a Sort Order.
  7. Optionally add a format rule. See Adding a format rule.
  8. Set the switches: Required, Unique, Show in Add form, Encrypted and Active.
  9. Select Create Attribute.

The attribute appears on every person's profile in its section, and becomes available to identity source mappings, provisioning mappings and provisioning policy conditions.

Attribute fields

FieldDescription
NameRequired. A unique identifier, such as costCenter. It can't be changed after creation.
Display NameRequired. The label shown on forms.
Data TypeRequired. Sets the kind of input shown on forms.
Default ValueOptional value used when none is given.
SectionGroups attributes into cards on a person's page, for example Basic Info, Organization Info or Contact Info.
Sort OrderLower numbers appear first in forms.
RequiredA value must be filled in when a person is created or edited.
UniqueThe value must be unique across all people in the tenant. You can turn it on only when the existing values are already unique.
Show in Add formOn: the field appears on the Add User form. Off: it can only be filled in when editing. It is always shown when viewing or editing a person.
EncryptedThe value is stored encrypted.
ActiveInactive attributes are hidden from all forms.

For example, a cost center attribute:

NamecostCenter
Display NameCost Center
Data TypeString
SectionOrganization Info
Required / Show in Add formOn / On

Adding a format rule

A format rule rejects values that don't fit a pattern, with your own message. Format rules aren't offered for Boolean and Datetime attributes.

To add a format rule:

  1. Open the attribute, or start adding one.
  2. Open Format rule and turn on Enforce a format.
  3. Optionally choose a preset in Start from.
  4. Build the pattern:
    • Builder – choose Allowed characters, Allowed special characters, Must start with a letter, Minimum length and Maximum length. The Generated regex is shown with a copy button.
    • Custom regex – type a Regular expression in Java syntax. The whole value must match.
  5. Enter an Error message (optional).
  6. Enter sample values in Test values, one per line, to see which match.
  7. Save the attribute.

The rule is checked when a person is created or edited in the console, and on access requests for new identities. Existing values aren't changed, and values a person doesn't change aren't checked again, so old data never blocks an unrelated edit.

FieldDescription
Start fromA preset to begin with: Username, Person name (first / last name), Display name, Email address, Mobile phone number, Country / City, Postal code, Employee ID, Department / Job title or Address.
Allowed charactersLowercase letters, uppercase letters, accented and international letters, digits and spaces.
Allowed special charactersEach character you type is allowed as-is.
Minimum length / Maximum lengthLeave empty for no limit.
Regular expressionThe editor flags an invalid pattern and suggests starting with ^ and ending with $.
Error message (optional)Shown to people when a value doesn't match.
Check existing valuesOnly when editing a saved attribute. Counts how many current values would fail the rule and shows examples. Nothing is changed. Not available for encrypted attributes.

For example, a cost center rule built with Builder: uppercase letters and digits, 6–8 characters, must start with a letter, with the error message "Use a cost center code such as FIN1042".

Editing and deleting an attribute

To delete a custom attribute:

  1. Go to Identity → Attributes.
  2. Open the ⋮ menu on the attribute's row and select Delete.
  3. Confirm.