Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Managing Asset Accounts

Bring an asset's accounts and groups into Zetect, describe their attributes, match each account to the person who owns it, and act on individual accounts. Regular syncs are how you find privileged access created outside Zetect.

Prerequisite

An onboarded asset with a working connection. See Onboarding a Privileged Asset.

Required permission

Privileged Assets – View in an administrator group.

Set the sections up in this order: Attributes first, because the other mapping sections pick from them; then Identity matching and Group membership; then run the syncs.

Defining attributes

The Attributes section lists the fields that accounts and groups have on the asset, and which one uniquely identifies each record.

Asset Attributes section

To define the attributes:

  1. Open the asset and select Attributes in the left menu.
  2. Pick Accounts or Groups at the top right.
  3. Select Discover Attributes to fetch the attributes the server reports, or Add Attribute to add one by hand.
  4. Set each attribute's Data Type: STRING, LIST, BOOLEAN, DATETIME or NUMBER.
  5. Tick Required where the attribute must have a value.
  6. Tick Identity on the one attribute that uniquely identifies each account or group.
  7. Select Save Attributes, or Discard to undo your changes.

For example, a Linux asset's account attributes are typically Name (STRING, Required, Identity), FullName and Description.

Matching accounts to identities

Identity matching works out which person owns each account. Each rule compares an identity attribute with a value taken from the account. Rules are tried in order and the first match wins.

Asset Identity matching section

To add a matching rule:

  1. Open the asset and select Identity matching in the left menu.
  2. Select Add Mapping.
  3. Choose the Zetect Identity Attribute to compare, for example Username.
  4. Choose the Source:
    • Account – an account attribute from Attributes.
    • Expression – a template built from account attributes.
    • Transform – a JSON transform of account attributes.
  5. Fill in the Account Value.
  6. Choose the Match Type: Exact match or Fuzzy match.
  7. Select Save Mappings.
  8. Run an account sync so the rules are applied.

Resolving group membership

Group membership works out which accounts belong to which groups. Without a mapping here, entitlements show no members and accounts show no groups, even after a group sync.

Asset Group membership section

To add a group membership mapping:

  1. Open the asset and select Group membership in the left menu.
  2. Select Add Mapping.
  3. Choose the direction:
    • Group → Account – each group lists its members. Fill in the Group Attribute, for example member, and what Member References Point To: Accounts or Groups, Accounts only or Groups only.
    • Account → Group – each account lists its groups. Fill in the Account Attribute, for example memberOf.
  4. Optionally set Match Account By (blank means the username) and Match Group By (blank means the group name), and limit the mapping to one Group Type.
  5. For Group → Account, tick Resolve nested groups if groups can contain other groups, and set the Max depth.
  6. Select Save Mappings.
  7. Run a group sync.

Syncing accounts and groups

The Sync section runs account and group syncs, on demand or on a schedule. Each has its own chunk size and schedule.

Asset Sync section

To run and schedule syncs:

  1. Open the asset and select Sync in the left menu.
  2. Pick Accounts or Groups at the top right.
  3. Select Start Account Aggregation (or Start Group Aggregation). The run appears in Run History.
  4. For a large asset, enter a Chunk Size and select Save. Leave it blank to sync everything in one pass; a chunk size is recommended above about 1,000 records.
  5. To sync on a schedule, turn on Schedule, choose a Frequency (Every hour, Every 6 hours, Daily at 2 AM, Weekly (Sun 2 AM) or Custom with a Cron expression such as 0 2 * * *), and select Save Schedule.

Run History shows each run's Started, Triggered By (Manual or Scheduled), Status, the records Discovered / Created / Updated / Deactivated, and Duration. After each account sync, PAM Risk scores the asset's accounts when Aggregation Risk Evaluation is on. See Configuring PAM Risk.

To stop a run that is still going, select its stop button and confirm with Stop Run. Zetect then ignores anything the agent sends for that run; the agent can't be stopped mid-scan, so it may keep working until it finishes.

Reviewing accounts

The Accounts section lists every account on the asset and who owns it. The number next to it in the left menu is the account count.

Asset Accounts section

To review and act on an account:

  1. Open the asset and select Accounts in the left menu.
  2. Narrow the list with the filter pills (All, No owner, Matched, Inactive, Privileged, Vaulted, Shared), or search by name or username.
  3. Select View, or the row, to open the account. Its panel has three tabs: Overview (owner and sharing), Access (the groups it belongs to) and Attributes.
  4. To suspend, restore or delete the account on the server, use the buttons at the bottom of the panel.

The list shows each Account with Privileged and Vaulted chips where they apply, its Owner (No owner when nobody matches, Used through grants for a shared account), its Status and when it was Last synced. Use Columns to add attribute columns, and Export CSV to download the accounts that match the filter on screen.

To let several people use an account through time-limited grants, select Make shared in the panel's Sharing card. To add a shared account that sync doesn't return, select Add shared account at the top. See Making an account shared.

Reviewing entitlements

The Entitlements section lists the groups found on the asset, such as local administrator or sudo groups, and who belongs to them.

Asset Entitlements section

To review an entitlement's members:

  1. Open the asset and select Entitlements in the left menu.
  2. Filter with All, Active or Inactive, or search by name or type.
  3. Select View, or the row, to open the entitlement.
  4. On the Members tab, review the accounts and nested groups. Untick Direct only to include members that come through nested groups.
  5. On the Attributes tab, review the values imported from the server.

The panel's member summary shows how many members were resolved to accounts or groups, how many could not be resolved, and the total. If an entitlement shows no members, check Group membership first.

Setting provisioning mappings

Provisioning mappings set what Zetect sends when it creates or updates an account on the asset. Each account attribute gets its value from an identity attribute, an expression or a transform.

Asset Provisioning mappings section

To add a provisioning mapping:

  1. Open the asset and select Provisioning mappings in the left menu.
  2. Select Add Mapping.
  3. Choose the Account Attribute to fill. The list comes from Attributes.
  4. Choose the Source:
    • Identity – copies an identity attribute as it is.
    • Expression – a fixed value, or a template with ${attrName} tokens, for example ${firstName} ${lastName}.
    • Transform – a JSON definition worked out at provisioning time.
  5. Fill in the Value.
  6. In Send on, choose Create & update, Create only or Update only. Update covers changes to an existing account, including adding or removing a group. Nothing is sent when an account is deleted.
  7. Select Save Mappings, or Discard to undo your changes.

Expressions and transforms use the same syntax as application mappings. See Writing Expressions and Using Transforms.

Writing back to identities

Identity writeback fills in identity fields from the matched account after a sync. A value is written only when that identity attribute is blank.

Asset Identity writeback section

To add a writeback mapping:

  1. Open the asset and select Identity writeback in the left menu.
  2. Select Add Mapping.
  3. Type the Account Attribute to read from, for example mail.
  4. Choose the Identity Attribute to fill.
  5. Select Save Mappings.

The mapping is applied at the next account sync. Writeback never overwrites a value the identity already has, and it only works for accounts that identity matching has linked to a person.

Troubleshooting

  • Accounts show No owner. No matching rule fits them. Check the rules under Identity matching and run an account sync.
  • Entitlements show no members. No mapping exists under Group membership, or no group sync has run since you added one.
  • An attribute is missing from a mapping list. Add it under Attributes and save.