# Schema Reference

The application schema maps Wiz users, roles, and projects to SailPoint accounts and entitlements. Review [Dataset Management](<https://documentation.sailpoint.com/connectors/wiz/saas/help/datasets.html>) for service account and cloud resource inventory schema attributes.

The application schema is used to configure the objects returned from a connector.

> [!NOTE]
>
> - The **Account Schema** tab is used to define the attributes for each object type in the application being configured. The schema attributes can be defined as **Entitlement** or **Multi-Valued**. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.
> - The schema attributes that are not present by [default](<#default-account-schema>) must be defined as strings if not specified.

The Wiz connector uses the following default correlation and object configurations.

## Default Correlation Configuration

Before you aggregate accounts from this source, you can map account attributes with their corresponding identity attributes based on your requirements.

You can customize the correlation configuration. Refer to [Assigning Source Accounts to Identities](<https://documentation.sailpoint.com/saas/help/accounts/correlation.html>) for more information.

When you first create the Wiz source, the default correlation mapping is:

| Account Attribute | Operation | Identity Attribute |
| --- | --- | --- |
| email | Equals | Work Email |

## Default Account Schema

Each source supports a variety of details, or attributes, about each user who has an account, such as their name, email address, manager name, and location.

The set of account attributes each source stores and how they're organized is known as the account's *schema*. To best represent your data, you can configure sources to use an account schema matching the one you use in the external connector. Refer to [Managing Source Account Schemas](<https://documentation.sailpoint.com/saas/help/accounts/schema.html>) for more information.

### Default Account Attributes

The Wiz connector supports the following default account schema attributes and customer configurable attributes. The attributes must be defined as strings if not specified.

| Attribute Name | Description |
| --- | --- |
| id | Unique Wiz user identifier |
| name | Wiz user name |
| email | User email address |
| status | Current account status |
| createdAt | Account creation timestamp |
| lastLoginAt | Last login timestamp |
| expiresAt | Account expiration timestamp |
| deletedAt | Account deletion timestamp |
| role | Primary Wiz role reference |
| identityProviderTypeV2 | Wiz identity provider type |
| assignedProjects | Assigned project references |

## Default Entitlement Attributes

Entitlement attributes define the entitlements, such as groups or roles, that can be assigned to the managed system's user accounts. Refer to [Managing Entitlements](<https://documentation.sailpoint.com/saas/help/access/entitlements.html>) for more information.

> [!CAUTION]
>
> Changing the attribute marked as the Entitlement ID after aggregating accounts or entitlements can result in duplicate entitlements being created, or access profiles and roles breaking. To avoid this, edit the entitlement schema before performing any aggregations.

### Default Role Attributes

The Wiz connector supports roles. The following attributes must be configured on the managed system and in the SailPoint source schema to manage roles.

| Attribute Name | Description |
| --- | --- |
| id | Unique Wiz role identifier |
| name | Wiz role name |
| description | Role description |
| createdAt | Role creation timestamp |
| updatedAt | Role update timestamp |
| isProjectScoped | Whether the role is scoped to a project |
| createdById | Identifier of the user who created the role |
| createdByName | Name of the user who created the role |
| updatedById | Identifier of the user who last updated the role |
| updatedByName | Name of the user who last updated the role |

### Default Project Attributes

| Attribute Name | Description |
| --- | --- |
| id | Unique Wiz project identifier |
| name | Wiz project name |
| isFolder | Whether the project is a folder |
| nestingLevel | Project nesting depth |
| archived | Whether the project is archived |
| businessUnit | Owning business unit |
| description | Project description |
| ancestorProjects | Ancestor project identifiers |
