Skip to content

Commit a032ce5

Browse files
Automated build 'Automated commit 'PLTCONN-7636 - Include nativeName on schema attribute definition' by github action: 18790121001' powershell sdk: 18790135306
1 parent e58c433 commit a032ce5

23 files changed

Lines changed: 79 additions & 19 deletions

PSSailpoint/PSSailpoint.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Sailpoint Developer Relations
55
#
6-
# Generated on: 10/23/2025
6+
# Generated on: 10/24/2025
77
#
88

99
@{

PSSailpoint/beta/docs/Models/AttributeDefinition.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tags: ['SDK', 'Software Development Kit', 'AttributeDefinition', 'BetaAttributeD
1717
Name | Type | Description | Notes
1818
------------ | ------------- | ------------- | -------------
1919
**Name** | **String** | The name of the attribute. | [optional]
20+
**NativeName** | **String** | Attribute name in the native system. | [optional]
2021
**Type** | [**AttributeDefinitionType**](attribute-definition-type) | | [optional]
2122
**Schema** | [**AttributeDefinitionSchema**](attribute-definition-schema) | | [optional]
2223
**Description** | **String** | A human-readable description of the attribute. | [optional]
@@ -29,6 +30,7 @@ Name | Type | Description | Notes
2930
- Prepare the resource
3031
```powershell
3132
$AttributeDefinition = Initialize-BetaAttributeDefinition -Name sAMAccountName `
33+
-NativeName sAMAccountName `
3234
-Type null `
3335
-Schema null `
3436
-Description The sAMAccountName attribute `

PSSailpoint/beta/src/PSSailpoint.Beta/Model/AttributeDefinition.ps1

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ No description available.
1616
1717
.PARAMETER Name
1818
The name of the attribute.
19+
.PARAMETER NativeName
20+
Attribute name in the native system.
1921
.PARAMETER Type
2022
No description available.
2123
.PARAMETER Schema
@@ -40,6 +42,9 @@ function Initialize-BetaAttributeDefinition {
4042
[String]
4143
${Name},
4244
[Parameter(ValueFromPipelineByPropertyName = $true)]
45+
[String]
46+
${NativeName},
47+
[Parameter(ValueFromPipelineByPropertyName = $true)]
4348
[ValidateSet("STRING", "LONG", "INT", "BOOLEAN", "DATE")]
4449
[PSCustomObject]
4550
${Type},
@@ -67,6 +72,7 @@ function Initialize-BetaAttributeDefinition {
6772

6873
$PSO = [PSCustomObject]@{
6974
"name" = ${Name}
75+
"nativeName" = ${NativeName}
7076
"type" = ${Type}
7177
"schema" = ${Schema}
7278
"description" = ${Description}
@@ -109,7 +115,7 @@ function ConvertFrom-BetaJsonToAttributeDefinition {
109115
$JsonParameters = ConvertFrom-Json -InputObject $Json
110116

111117
# check if Json contains properties not defined in BetaAttributeDefinition
112-
$AllProperties = ("name", "type", "schema", "description", "isMulti", "isEntitlement", "isGroup")
118+
$AllProperties = ("name", "nativeName", "type", "schema", "description", "isMulti", "isEntitlement", "isGroup")
113119
foreach ($name in $JsonParameters.PsObject.Properties.Name) {
114120
if (!($AllProperties.Contains($name))) {
115121
throw "Error! JSON key '$name' not found in the properties: $($AllProperties)"
@@ -122,6 +128,12 @@ function ConvertFrom-BetaJsonToAttributeDefinition {
122128
$Name = $JsonParameters.PSobject.Properties["name"].value
123129
}
124130

131+
if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeName"))) { #optional property not found
132+
$NativeName = $null
133+
} else {
134+
$NativeName = $JsonParameters.PSobject.Properties["nativeName"].value
135+
}
136+
125137
if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found
126138
$Type = $null
127139
} else {
@@ -160,6 +172,7 @@ function ConvertFrom-BetaJsonToAttributeDefinition {
160172

161173
$PSO = [PSCustomObject]@{
162174
"name" = ${Name}
175+
"nativeName" = ${NativeName}
163176
"type" = ${Type}
164177
"schema" = ${Schema}
165178
"description" = ${Description}

PSSailpoint/beta/src/PSSailpoint.Beta/PSSailpoint.Beta.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: OpenAPI Generator Team
55
#
6-
# Generated on: 10/23/2025
6+
# Generated on: 10/24/2025
77
#
88

99
@{

PSSailpoint/beta/tests/Model/AttributeDefinition.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Describe -tag 'PSSailpoint.Beta' -name 'BetaAttributeDefinition' {
99
Context 'BetaAttributeDefinition' {
1010
It 'Initialize-BetaAttributeDefinition' {
1111
# a simple test to create an object
12-
#$NewObject = Initialize-BetaAttributeDefinition -Name "TEST_VALUE" -Type "TEST_VALUE" -Schema "TEST_VALUE" -Description "TEST_VALUE" -IsMulti "TEST_VALUE" -IsEntitlement "TEST_VALUE" -IsGroup "TEST_VALUE"
12+
#$NewObject = Initialize-BetaAttributeDefinition -Name "TEST_VALUE" -NativeName "TEST_VALUE" -Type "TEST_VALUE" -Schema "TEST_VALUE" -Description "TEST_VALUE" -IsMulti "TEST_VALUE" -IsEntitlement "TEST_VALUE" -IsGroup "TEST_VALUE"
1313
#$NewObject | Should -BeOfType AttributeDefinition
1414
#$NewObject.property | Should -Be 0
1515
}

PSSailpoint/v2024/docs/Models/AttributeDefinition.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tags: ['SDK', 'Software Development Kit', 'AttributeDefinition', 'V2024Attribute
1717
Name | Type | Description | Notes
1818
------------ | ------------- | ------------- | -------------
1919
**Name** | **String** | The name of the attribute. | [optional]
20+
**NativeName** | **String** | Attribute name in the native system. | [optional]
2021
**Type** | [**AttributeDefinitionType**](attribute-definition-type) | | [optional]
2122
**Schema** | [**AttributeDefinitionSchema**](attribute-definition-schema) | | [optional]
2223
**Description** | **String** | A human-readable description of the attribute. | [optional]
@@ -29,6 +30,7 @@ Name | Type | Description | Notes
2930
- Prepare the resource
3031
```powershell
3132
$AttributeDefinition = Initialize-V2024AttributeDefinition -Name sAMAccountName `
33+
-NativeName sAMAccountName `
3234
-Type null `
3335
-Schema null `
3436
-Description SAM Account Name `

PSSailpoint/v2024/docs/Models/Schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**IdentityAttribute** | **String** | The name of the attribute used to calculate the unique identifier for an object in the schema. | [optional]
2323
**DisplayAttribute** | **String** | The name of the attribute used to calculate the display value for an object in the schema. | [optional]
2424
**HierarchyAttribute** | **String** | The name of the attribute whose values represent other objects in a hierarchy. Only relevant to group schemas. | [optional]
25-
**IncludePermissions** | **Boolean** | Flag indicating whether or not the include permissions with the object data when aggregating the schema. | [optional]
25+
**IncludePermissions** | **Boolean** | Flag indicating whether or not the include permissions with the object data when aggregating the schema. | [optional] [default to $false]
2626
**Features** | **[]String** | Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM | [optional]
2727
**Configuration** | [**SystemCollectionsHashtable**]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0 | Holds any extra configuration data that the schema may require. | [optional]
2828
**Attributes** | [**[]AttributeDefinition**](attribute-definition) | The attribute definitions which form the schema. | [optional]

PSSailpoint/v2024/src/PSSailpoint.V2024/Model/AttributeDefinition.ps1

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ No description available.
1616
1717
.PARAMETER Name
1818
The name of the attribute.
19+
.PARAMETER NativeName
20+
Attribute name in the native system.
1921
.PARAMETER Type
2022
No description available.
2123
.PARAMETER Schema
@@ -40,6 +42,9 @@ function Initialize-V2024AttributeDefinition {
4042
[String]
4143
${Name},
4244
[Parameter(ValueFromPipelineByPropertyName = $true)]
45+
[String]
46+
${NativeName},
47+
[Parameter(ValueFromPipelineByPropertyName = $true)]
4348
[ValidateSet("STRING", "LONG", "INT", "BOOLEAN", "DATE")]
4449
[PSCustomObject]
4550
${Type},
@@ -67,6 +72,7 @@ function Initialize-V2024AttributeDefinition {
6772

6873
$PSO = [PSCustomObject]@{
6974
"name" = ${Name}
75+
"nativeName" = ${NativeName}
7076
"type" = ${Type}
7177
"schema" = ${Schema}
7278
"description" = ${Description}
@@ -109,7 +115,7 @@ function ConvertFrom-V2024JsonToAttributeDefinition {
109115
$JsonParameters = ConvertFrom-Json -InputObject $Json
110116

111117
# check if Json contains properties not defined in V2024AttributeDefinition
112-
$AllProperties = ("name", "type", "schema", "description", "isMulti", "isEntitlement", "isGroup")
118+
$AllProperties = ("name", "nativeName", "type", "schema", "description", "isMulti", "isEntitlement", "isGroup")
113119
foreach ($name in $JsonParameters.PsObject.Properties.Name) {
114120
if (!($AllProperties.Contains($name))) {
115121
throw "Error! JSON key '$name' not found in the properties: $($AllProperties)"
@@ -122,6 +128,12 @@ function ConvertFrom-V2024JsonToAttributeDefinition {
122128
$Name = $JsonParameters.PSobject.Properties["name"].value
123129
}
124130

131+
if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeName"))) { #optional property not found
132+
$NativeName = $null
133+
} else {
134+
$NativeName = $JsonParameters.PSobject.Properties["nativeName"].value
135+
}
136+
125137
if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found
126138
$Type = $null
127139
} else {
@@ -160,6 +172,7 @@ function ConvertFrom-V2024JsonToAttributeDefinition {
160172

161173
$PSO = [PSCustomObject]@{
162174
"name" = ${Name}
175+
"nativeName" = ${NativeName}
163176
"type" = ${Type}
164177
"schema" = ${Schema}
165178
"description" = ${Description}

PSSailpoint/v2024/src/PSSailpoint.V2024/Model/Schema.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Initialize-V2024Schema {
6666
${HierarchyAttribute},
6767
[Parameter(ValueFromPipelineByPropertyName = $true)]
6868
[System.Nullable[Boolean]]
69-
${IncludePermissions},
69+
${IncludePermissions} = $false,
7070
[Parameter(ValueFromPipelineByPropertyName = $true)]
7171
[ValidateSet("AUTHENTICATE", "COMPOSITE", "DIRECT_PERMISSIONS", "DISCOVER_SCHEMA", "ENABLE", "MANAGER_LOOKUP", "NO_RANDOM_ACCESS", "PROXY", "SEARCH", "TEMPLATE", "UNLOCK", "UNSTRUCTURED_TARGETS", "SHAREPOINT_TARGET", "PROVISIONING", "GROUP_PROVISIONING", "SYNC_PROVISIONING", "PASSWORD", "CURRENT_PASSWORD", "ACCOUNT_ONLY_REQUEST", "ADDITIONAL_ACCOUNT_REQUEST", "NO_AGGREGATION", "GROUPS_HAVE_MEMBERS", "NO_PERMISSIONS_PROVISIONING", "NO_GROUP_PERMISSIONS_PROVISIONING", "NO_UNSTRUCTURED_TARGETS_PROVISIONING", "NO_DIRECT_PERMISSIONS_PROVISIONING", "PREFER_UUID", "ARM_SECURITY_EXTRACT", "ARM_UTILIZATION_EXTRACT", "ARM_CHANGELOG_EXTRACT", "USES_UUID", "APPLICATION_DISCOVERY")]
7272
[String[]]

PSSailpoint/v2024/src/PSSailpoint.V2024/PSSailpoint.V2024.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: OpenAPI Generator Team
55
#
6-
# Generated on: 10/23/2025
6+
# Generated on: 10/24/2025
77
#
88

99
@{

0 commit comments

Comments
 (0)