Schema Reference
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 for more information.
-
The schema attributes that are not present by default must be defined as strings if not specified.
The TestRail connector uses the following default correlation and object configurations.
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 for more information.
Default Account ID
SailPoint requires that certain attributes remain in your configuration. These attributes are referred to as account IDs.
Caution
Changing the attribute marked as the account ID after aggregating accounts can result in duplicate accounts being created. To avoid this, either reset the accounts on this source before editing the account ID attribute or edit the account ID attribute before aggregating accounts.
To resolve issues caused by changing account IDs, reconfigure them to their default values.
The following table lists the default account IDs for this connector:
| Account ID | Schema Object Type |
|---|---|
| id | Account |
Default Account Attributes
The TestRail 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 identifier for the user in TestRail |
| is_admin | Indicates whether the user has administrator privileges in TestRail |
| is_active | Indicates whether the user account is active in TestRail |
| role | The role name assigned to the user in TestRail |
| assigned_projects | List of projects the user has access to in TestRail |
| role_id | Unique identifier for the user's role in TestRail |
| name | Full name of the user in TestRail |
| group_ids | User groups the user belongs to in TestRail |
| Email address of the user in TestRail | |
| email_notifications | Indicates if email notifications allowed or not |
| mfa_required | True if the user profile is configured to require MFA at each login |
| sso_enabled | True if the user’s profile has Single-Sign-On enabled |
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 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 Group Attributes
The TestRail connector also supports groups. The following attributes must be configured on the managed system and in the SailPoint source schema to manage groups.
| Attribute Name | Description |
|---|---|
| name | Display name of the TestRail group |
| id | Unique identifier for the TestRail group |
Default Role Attributes
The TestRail 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 identifier for the TestRail role |
| name | Display name of the TestRail role |
| is_project_admin | Flag indicating whether the role has project administrator privileges |
| is_default | Flag indicating whether this is a default role in TestRail |
Default Project Attributes
| Attribute Name | Description |
|---|---|
| suite_mode | The suite mode setting for the TestRail project |
| completed_on | Timestamp when the project was completed |
| name | Display name of the TestRail project |
| id | Unique identifier for the TestRail project |
| is_completed | Flag indicating whether the project is marked as completed |
| url | URL to access the project in TestRail |
| announcement | Project announcement text displayed to users |
| default_role | The name of the default role configured for project access |