diff --git a/PSSailpoint/PSSailpoint.psd1 b/PSSailpoint/PSSailpoint.psd1 index 60be1e95a..c099ab03c 100644 --- a/PSSailpoint/PSSailpoint.psd1 +++ b/PSSailpoint/PSSailpoint.psd1 @@ -3,7 +3,7 @@ # # Generated by: Sailpoint Developer Relations # -# Generated on: 01/24/2024 +# Generated on: 01/25/2024 # @{ @@ -131,7 +131,7 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'New-OauthClient', 'Remove-OauthClient', 'Get-OauthClient', 'Get-OauthClients', 'Update-OauthClient', 'New-PasswordOrgConfig', 'Get-PasswordOrgConfig', 'Send-PasswordOrgConfig', - 'Get-PasswordDictionary', 'Update-PasswordDictionary', + 'Get-PasswordDictionary', 'Send-PasswordDictionary', 'Get-PasswordChangeStatus', 'Search-PasswordInfo', 'Set-Password', 'New-PasswordSyncGroup', 'Remove-PasswordSyncGroup', 'Get-PasswordSyncGroup', 'Get-PasswordSyncGroups', @@ -617,8 +617,11 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'Initialize-PublicIdentityAttributeConfig', 'ConvertFrom-JsonToPublicIdentityAttributeConfig', 'Initialize-PublicIdentityConfig', - 'ConvertFrom-JsonToPublicIdentityConfig', 'Initialize-Query', - 'ConvertFrom-JsonToQuery', 'Initialize-QueryResultFilter', + 'ConvertFrom-JsonToPublicIdentityConfig', + 'Initialize-PutPasswordDictionaryRequest', + 'ConvertFrom-JsonToPutPasswordDictionaryRequest', + 'Initialize-Query', 'ConvertFrom-JsonToQuery', + 'Initialize-QueryResultFilter', 'ConvertFrom-JsonToQueryResultFilter', 'Initialize-QueuedCheckConfigDetails', 'ConvertFrom-JsonToQueuedCheckConfigDetails', @@ -802,8 +805,6 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'Initialize-Trim', 'ConvertFrom-JsonToTrim', 'Initialize-TypeAheadQuery', 'ConvertFrom-JsonToTypeAheadQuery', 'Initialize-TypedReference', 'ConvertFrom-JsonToTypedReference', - 'Initialize-UpdatePasswordDictionaryRequest', - 'ConvertFrom-JsonToUpdatePasswordDictionaryRequest', 'Initialize-Upper', 'ConvertFrom-JsonToUpper', 'Initialize-UUIDGenerator', 'ConvertFrom-JsonToUUIDGenerator', 'Initialize-Value', 'ConvertFrom-JsonToValue', @@ -990,7 +991,7 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'Get-BetaValidTimeZones', 'Update-BetaOrgConfig', 'New-BetaPasswordOrgConfig', 'Get-BetaPasswordOrgConfig', 'Send-BetaPasswordOrgConfig', 'Get-BetaPasswordDictionary', - 'Update-BetaPasswordDictionary', 'New-BetaDigitToken', + 'Send-BetaPasswordDictionary', 'New-BetaDigitToken', 'Get-BetaIdentityPasswordChangeStatus', 'Search-BetaPasswordInfo', 'Set-BetaIdentityPassword', 'New-BetaPasswordSyncGroup', 'Remove-BetaPasswordSyncGroup', 'Get-BetaPasswordSyncGroup', @@ -1960,6 +1961,8 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'ConvertFrom-BetaJsonToPublicIdentityAttributeConfig', 'Initialize-BetaPublicIdentityConfig', 'ConvertFrom-BetaJsonToPublicIdentityConfig', + 'Initialize-BetaPutPasswordDictionaryRequest', + 'ConvertFrom-BetaJsonToPutPasswordDictionaryRequest', 'Initialize-BetaQueuedCheckConfigDetails', 'ConvertFrom-BetaJsonToQueuedCheckConfigDetails', 'Initialize-BetaRandomAlphaNumeric', @@ -2307,11 +2310,8 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'Initialize-BetaTrigger', 'ConvertFrom-BetaJsonToTrigger', 'ConvertFrom-BetaJsonToTriggerExampleInput', 'ConvertFrom-BetaJsonToTriggerExampleOutput', 'Initialize-BetaTrim', - 'ConvertFrom-BetaJsonToTrim', - 'Initialize-BetaUpdatePasswordDictionaryRequest', - 'ConvertFrom-BetaJsonToUpdatePasswordDictionaryRequest', - 'Initialize-BetaUpper', 'ConvertFrom-BetaJsonToUpper', - 'Initialize-BetaUUIDGenerator', + 'ConvertFrom-BetaJsonToTrim', 'Initialize-BetaUpper', + 'ConvertFrom-BetaJsonToUpper', 'Initialize-BetaUUIDGenerator', 'ConvertFrom-BetaJsonToUUIDGenerator', 'Initialize-BetaV3ConnectorDto', 'ConvertFrom-BetaJsonToV3ConnectorDto', diff --git a/PSSailpoint/beta/.openapi-generator/FILES b/PSSailpoint/beta/.openapi-generator/FILES index 6e41bc4da..9d0da5314 100644 --- a/PSSailpoint/beta/.openapi-generator/FILES +++ b/PSSailpoint/beta/.openapi-generator/FILES @@ -564,6 +564,7 @@ docs/ProvisioningPolicyDto.md docs/ProvisioningState.md docs/PublicIdentityAttributeConfig.md docs/PublicIdentityConfig.md +docs/PutPasswordDictionaryRequest.md docs/QueuedCheckConfigDetails.md docs/RandomAlphaNumeric.md docs/RandomNumeric.md @@ -784,7 +785,6 @@ docs/TriggerExampleOutput.md docs/TriggerType.md docs/Trim.md docs/UUIDGenerator.md -docs/UpdatePasswordDictionaryRequest.md docs/Upper.md docs/UsageType.md docs/V3ConnectorDto.md @@ -1392,6 +1392,7 @@ src/PSSailpointBeta/Model/ProvisioningPolicyDto.ps1 src/PSSailpointBeta/Model/ProvisioningState.ps1 src/PSSailpointBeta/Model/PublicIdentityAttributeConfig.ps1 src/PSSailpointBeta/Model/PublicIdentityConfig.ps1 +src/PSSailpointBeta/Model/PutPasswordDictionaryRequest.ps1 src/PSSailpointBeta/Model/QueuedCheckConfigDetails.ps1 src/PSSailpointBeta/Model/RandomAlphaNumeric.ps1 src/PSSailpointBeta/Model/RandomNumeric.ps1 @@ -1612,7 +1613,6 @@ src/PSSailpointBeta/Model/TriggerExampleOutput.ps1 src/PSSailpointBeta/Model/TriggerType.ps1 src/PSSailpointBeta/Model/Trim.ps1 src/PSSailpointBeta/Model/UUIDGenerator.ps1 -src/PSSailpointBeta/Model/UpdatePasswordDictionaryRequest.ps1 src/PSSailpointBeta/Model/Upper.ps1 src/PSSailpointBeta/Model/UsageType.ps1 src/PSSailpointBeta/Model/V3ConnectorDto.ps1 @@ -2226,6 +2226,7 @@ tests/Model/ProvisioningPolicyDto.Tests.ps1 tests/Model/ProvisioningState.Tests.ps1 tests/Model/PublicIdentityAttributeConfig.Tests.ps1 tests/Model/PublicIdentityConfig.Tests.ps1 +tests/Model/PutPasswordDictionaryRequest.Tests.ps1 tests/Model/QueuedCheckConfigDetails.Tests.ps1 tests/Model/RandomAlphaNumeric.Tests.ps1 tests/Model/RandomNumeric.Tests.ps1 @@ -2446,7 +2447,6 @@ tests/Model/TriggerExampleOutput.Tests.ps1 tests/Model/TriggerType.Tests.ps1 tests/Model/Trim.Tests.ps1 tests/Model/UUIDGenerator.Tests.ps1 -tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 tests/Model/Upper.Tests.ps1 tests/Model/UsageType.Tests.ps1 tests/Model/V3ConnectorDto.Tests.ps1 diff --git a/PSSailpoint/beta/README.md b/PSSailpoint/beta/README.md index 78bfe64f4..5ebef796b 100644 --- a/PSSailpoint/beta/README.md +++ b/PSSailpoint/beta/README.md @@ -326,7 +326,7 @@ Class | Method | HTTP request | Description *BetaPasswordConfigurationApi* | [**Get-BetaPasswordOrgConfig**](docs/BetaPasswordConfigurationApi.md#Get-BetaPasswordOrgConfig) | **GET** /password-org-config | Get Password Org Config *BetaPasswordConfigurationApi* | [**Send-BetaPasswordOrgConfig**](docs/BetaPasswordConfigurationApi.md#Send-BetaPasswordOrgConfig) | **PUT** /password-org-config | Update Password Org Config *BetaPasswordDictionaryApi* | [**Get-BetaPasswordDictionary**](docs/BetaPasswordDictionaryApi.md#Get-BetaPasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary -*BetaPasswordDictionaryApi* | [**Update-BetaPasswordDictionary**](docs/BetaPasswordDictionaryApi.md#Update-BetaPasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary +*BetaPasswordDictionaryApi* | [**Send-BetaPasswordDictionary**](docs/BetaPasswordDictionaryApi.md#Send-BetaPasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary *BetaPasswordManagementApi* | [**New-BetaDigitToken**](docs/BetaPasswordManagementApi.md#New-BetaDigitToken) | **POST** /generate-password-reset-token/digit | Generate a digit token *BetaPasswordManagementApi* | [**Get-BetaIdentityPasswordChangeStatus**](docs/BetaPasswordManagementApi.md#Get-BetaIdentityPasswordChangeStatus) | **GET** /password-change-status/{id} | Get Password Change Request Status *BetaPasswordManagementApi* | [**Search-BetaPasswordInfo**](docs/BetaPasswordManagementApi.md#Search-BetaPasswordInfo) | **POST** /query-password-info | Query Password Info @@ -1017,6 +1017,7 @@ Class | Method | HTTP request | Description - [PSSailpointBeta\Model.ProvisioningState](docs/ProvisioningState.md) - [PSSailpointBeta\Model.PublicIdentityAttributeConfig](docs/PublicIdentityAttributeConfig.md) - [PSSailpointBeta\Model.PublicIdentityConfig](docs/PublicIdentityConfig.md) + - [PSSailpointBeta\Model.PutPasswordDictionaryRequest](docs/PutPasswordDictionaryRequest.md) - [PSSailpointBeta\Model.QueuedCheckConfigDetails](docs/QueuedCheckConfigDetails.md) - [PSSailpointBeta\Model.RandomAlphaNumeric](docs/RandomAlphaNumeric.md) - [PSSailpointBeta\Model.RandomNumeric](docs/RandomNumeric.md) @@ -1237,7 +1238,6 @@ Class | Method | HTTP request | Description - [PSSailpointBeta\Model.TriggerType](docs/TriggerType.md) - [PSSailpointBeta\Model.Trim](docs/Trim.md) - [PSSailpointBeta\Model.UUIDGenerator](docs/UUIDGenerator.md) - - [PSSailpointBeta\Model.UpdatePasswordDictionaryRequest](docs/UpdatePasswordDictionaryRequest.md) - [PSSailpointBeta\Model.Upper](docs/Upper.md) - [PSSailpointBeta\Model.UsageType](docs/UsageType.md) - [PSSailpointBeta\Model.V3ConnectorDto](docs/V3ConnectorDto.md) diff --git a/PSSailpoint/beta/docs/BetaPasswordDictionaryApi.md b/PSSailpoint/beta/docs/BetaPasswordDictionaryApi.md index 6aeae26d2..9bc28f189 100644 --- a/PSSailpoint/beta/docs/BetaPasswordDictionaryApi.md +++ b/PSSailpoint/beta/docs/BetaPasswordDictionaryApi.md @@ -5,7 +5,7 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/beta* Method | HTTP request | Description ------------- | ------------- | ------------- [**Get-BetaPasswordDictionary**](BetaPasswordDictionaryApi.md#Get-BetaPasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary -[**Update-BetaPasswordDictionary**](BetaPasswordDictionaryApi.md#Update-BetaPasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary +[**Send-BetaPasswordDictionary**](BetaPasswordDictionaryApi.md#Send-BetaPasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary @@ -14,7 +14,7 @@ Method | HTTP request | Description Get Password Dictionary -This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` ### Example ```powershell @@ -54,14 +54,14 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **Update-BetaPasswordDictionary** -> void Update-BetaPasswordDictionary
+ +# **Send-BetaPasswordDictionary** +> void Send-BetaPasswordDictionary
>         [-File]
Update Password Dictionary -This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` ### Example ```powershell @@ -77,9 +77,9 @@ $File = # System.IO.FileInfo | (optional) # Update Password Dictionary try { - $Result = Update-BetaPasswordDictionary -File $File + $Result = Send-BetaPasswordDictionary -File $File } catch { - Write-Host ("Exception occurred when calling Update-BetaPasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Exception occurred when calling Send-BetaPasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) } ``` diff --git a/PSSailpoint/v3/docs/UpdatePasswordDictionaryRequest.md b/PSSailpoint/beta/docs/PutPasswordDictionaryRequest.md similarity index 69% rename from PSSailpoint/v3/docs/UpdatePasswordDictionaryRequest.md rename to PSSailpoint/beta/docs/PutPasswordDictionaryRequest.md index baaf511b1..34e0ced90 100644 --- a/PSSailpoint/v3/docs/UpdatePasswordDictionaryRequest.md +++ b/PSSailpoint/beta/docs/PutPasswordDictionaryRequest.md @@ -1,4 +1,4 @@ -# UpdatePasswordDictionaryRequest +# PutPasswordDictionaryRequest ## Properties Name | Type | Description | Notes @@ -9,12 +9,12 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$UpdatePasswordDictionaryRequest = Initialize-PSSailpointUpdatePasswordDictionaryRequest -File null +$PutPasswordDictionaryRequest = Initialize-PSSailpointBetaPutPasswordDictionaryRequest -File null ``` - Convert the resource to JSON ```powershell -$UpdatePasswordDictionaryRequest | ConvertTo-JSON +$PutPasswordDictionaryRequest | ConvertTo-JSON ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/PSSailpoint/beta/src/PSSailpointBeta/Api/BetaPasswordDictionaryApi.ps1 b/PSSailpoint/beta/src/PSSailpointBeta/Api/BetaPasswordDictionaryApi.ps1 index 7e329cd6c..983702311 100644 --- a/PSSailpoint/beta/src/PSSailpointBeta/Api/BetaPasswordDictionaryApi.ps1 +++ b/PSSailpoint/beta/src/PSSailpointBeta/Api/BetaPasswordDictionaryApi.ps1 @@ -12,7 +12,7 @@ Get Password Dictionary .DESCRIPTION -This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` .PARAMETER ReturnType @@ -88,7 +88,7 @@ Update Password Dictionary .DESCRIPTION -This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` .PARAMETER File No description available. @@ -101,7 +101,7 @@ A switch when turned on will return a hash table of Response, StatusCode and Hea None #> -function Update-BetaPasswordDictionary { +function Send-BetaPasswordDictionary { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] @@ -112,7 +112,7 @@ function Update-BetaPasswordDictionary { ) Process { - 'Calling method: Update-BetaPasswordDictionary' | Write-Debug + 'Calling method: Send-BetaPasswordDictionary' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() diff --git a/PSSailpoint/beta/src/PSSailpointBeta/Model/UpdatePasswordDictionaryRequest.ps1 b/PSSailpoint/beta/src/PSSailpointBeta/Model/PutPasswordDictionaryRequest.ps1 similarity index 75% rename from PSSailpoint/beta/src/PSSailpointBeta/Model/UpdatePasswordDictionaryRequest.ps1 rename to PSSailpoint/beta/src/PSSailpointBeta/Model/PutPasswordDictionaryRequest.ps1 index 89f3f12f7..1b85758d1 100644 --- a/PSSailpoint/beta/src/PSSailpointBeta/Model/UpdatePasswordDictionaryRequest.ps1 +++ b/PSSailpoint/beta/src/PSSailpointBeta/Model/PutPasswordDictionaryRequest.ps1 @@ -18,10 +18,10 @@ No description available. No description available. .OUTPUTS -UpdatePasswordDictionaryRequest +PutPasswordDictionaryRequest #> -function Initialize-BetaUpdatePasswordDictionaryRequest { +function Initialize-BetaPutPasswordDictionaryRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] @@ -30,7 +30,7 @@ function Initialize-BetaUpdatePasswordDictionaryRequest { ) Process { - 'Creating PSCustomObject: PSSailpointBeta => BetaUpdatePasswordDictionaryRequest' | Write-Debug + 'Creating PSCustomObject: PSSailpointBeta => BetaPutPasswordDictionaryRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug @@ -46,11 +46,11 @@ function Initialize-BetaUpdatePasswordDictionaryRequest { <# .SYNOPSIS -Convert from JSON to UpdatePasswordDictionaryRequest +Convert from JSON to PutPasswordDictionaryRequest .DESCRIPTION -Convert from JSON to UpdatePasswordDictionaryRequest +Convert from JSON to PutPasswordDictionaryRequest .PARAMETER Json @@ -58,21 +58,21 @@ Json object .OUTPUTS -UpdatePasswordDictionaryRequest +PutPasswordDictionaryRequest #> -function ConvertFrom-BetaJsonToUpdatePasswordDictionaryRequest { +function ConvertFrom-BetaJsonToPutPasswordDictionaryRequest { Param( [AllowEmptyString()] [string]$Json ) Process { - 'Converting JSON to PSCustomObject: PSSailpointBeta => BetaUpdatePasswordDictionaryRequest' | Write-Debug + 'Converting JSON to PSCustomObject: PSSailpointBeta => BetaPutPasswordDictionaryRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $JsonParameters = ConvertFrom-Json -InputObject $Json - # check if Json contains properties not defined in BetaUpdatePasswordDictionaryRequest + # check if Json contains properties not defined in BetaPutPasswordDictionaryRequest $AllProperties = ("file") foreach ($name in $JsonParameters.PsObject.Properties.Name) { if (!($AllProperties.Contains($name))) { diff --git a/PSSailpoint/beta/tests/Api/BetaPasswordDictionaryApi.Tests.ps1 b/PSSailpoint/beta/tests/Api/BetaPasswordDictionaryApi.Tests.ps1 index 52577562c..40bddcddc 100644 --- a/PSSailpoint/beta/tests/Api/BetaPasswordDictionaryApi.Tests.ps1 +++ b/PSSailpoint/beta/tests/Api/BetaPasswordDictionaryApi.Tests.ps1 @@ -14,9 +14,9 @@ Describe -tag 'PSSailpointBeta' -name 'BetaBetaPasswordDictionaryApi' { } } - Context 'Update-BetaPasswordDictionary' { - It 'Test Update-BetaPasswordDictionary' { - #$TestResult = Update-BetaPasswordDictionary -File "TEST_VALUE" + Context 'Send-BetaPasswordDictionary' { + It 'Test Send-BetaPasswordDictionary' { + #$TestResult = Send-BetaPasswordDictionary -File "TEST_VALUE" #$TestResult | Should -BeOfType TODO #$TestResult.property | Should -Be 0 } diff --git a/PSSailpoint/beta/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 b/PSSailpoint/beta/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 similarity index 61% rename from PSSailpoint/beta/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 rename to PSSailpoint/beta/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 index bd24554fd..52a45984a 100644 --- a/PSSailpoint/beta/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 +++ b/PSSailpoint/beta/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 @@ -5,12 +5,12 @@ # Generated by OpenAPI Generator: https://openapi-generator.tech # -Describe -tag 'PSSailpointBeta' -name 'BetaUpdatePasswordDictionaryRequest' { - Context 'BetaUpdatePasswordDictionaryRequest' { - It 'Initialize-BetaUpdatePasswordDictionaryRequest' { +Describe -tag 'PSSailpointBeta' -name 'BetaPutPasswordDictionaryRequest' { + Context 'BetaPutPasswordDictionaryRequest' { + It 'Initialize-BetaPutPasswordDictionaryRequest' { # a simple test to create an object - #$NewObject = Initialize-BetaUpdatePasswordDictionaryRequest -File "TEST_VALUE" - #$NewObject | Should -BeOfType UpdatePasswordDictionaryRequest + #$NewObject = Initialize-BetaPutPasswordDictionaryRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutPasswordDictionaryRequest #$NewObject.property | Should -Be 0 } } diff --git a/PSSailpoint/v3/.openapi-generator/FILES b/PSSailpoint/v3/.openapi-generator/FILES index c8041a19d..7cc73f61d 100644 --- a/PSSailpoint/v3/.openapi-generator/FILES +++ b/PSSailpoint/v3/.openapi-generator/FILES @@ -326,6 +326,7 @@ docs/PublicIdentitiesConfigApi.md docs/PublicIdentity.md docs/PublicIdentityAttributeConfig.md docs/PublicIdentityConfig.md +docs/PutPasswordDictionaryRequest.md docs/Query.md docs/QueryResultFilter.md docs/QueryType.md @@ -484,7 +485,6 @@ docs/Trim.md docs/TypeAheadQuery.md docs/TypedReference.md docs/UUIDGenerator.md -docs/UpdatePasswordDictionaryRequest.md docs/Upper.md docs/UsageType.md docs/Value.md @@ -840,6 +840,7 @@ src/PSSailpoint/Model/ProvisioningState.ps1 src/PSSailpoint/Model/PublicIdentity.ps1 src/PSSailpoint/Model/PublicIdentityAttributeConfig.ps1 src/PSSailpoint/Model/PublicIdentityConfig.ps1 +src/PSSailpoint/Model/PutPasswordDictionaryRequest.ps1 src/PSSailpoint/Model/Query.ps1 src/PSSailpoint/Model/QueryResultFilter.ps1 src/PSSailpoint/Model/QueryType.ps1 @@ -984,7 +985,6 @@ src/PSSailpoint/Model/Trim.ps1 src/PSSailpoint/Model/TypeAheadQuery.ps1 src/PSSailpoint/Model/TypedReference.ps1 src/PSSailpoint/Model/UUIDGenerator.ps1 -src/PSSailpoint/Model/UpdatePasswordDictionaryRequest.ps1 src/PSSailpoint/Model/Upper.ps1 src/PSSailpoint/Model/UsageType.ps1 src/PSSailpoint/Model/Value.ps1 @@ -1345,6 +1345,7 @@ tests/Model/ProvisioningState.Tests.ps1 tests/Model/PublicIdentity.Tests.ps1 tests/Model/PublicIdentityAttributeConfig.Tests.ps1 tests/Model/PublicIdentityConfig.Tests.ps1 +tests/Model/PutPasswordDictionaryRequest.Tests.ps1 tests/Model/Query.Tests.ps1 tests/Model/QueryResultFilter.Tests.ps1 tests/Model/QueryType.Tests.ps1 @@ -1489,7 +1490,6 @@ tests/Model/Trim.Tests.ps1 tests/Model/TypeAheadQuery.Tests.ps1 tests/Model/TypedReference.Tests.ps1 tests/Model/UUIDGenerator.Tests.ps1 -tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 tests/Model/Upper.Tests.ps1 tests/Model/UsageType.Tests.ps1 tests/Model/Value.Tests.ps1 diff --git a/PSSailpoint/v3/README.md b/PSSailpoint/v3/README.md index 1a45382c6..6bab0de32 100644 --- a/PSSailpoint/v3/README.md +++ b/PSSailpoint/v3/README.md @@ -186,7 +186,7 @@ Class | Method | HTTP request | Description *PasswordConfigurationApi* | [**Get-PasswordOrgConfig**](docs/PasswordConfigurationApi.md#Get-PasswordOrgConfig) | **GET** /password-org-config | Get Password Org Config *PasswordConfigurationApi* | [**Send-PasswordOrgConfig**](docs/PasswordConfigurationApi.md#Send-PasswordOrgConfig) | **PUT** /password-org-config | Update Password Org Config *PasswordDictionaryApi* | [**Get-PasswordDictionary**](docs/PasswordDictionaryApi.md#Get-PasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary -*PasswordDictionaryApi* | [**Update-PasswordDictionary**](docs/PasswordDictionaryApi.md#Update-PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary +*PasswordDictionaryApi* | [**Send-PasswordDictionary**](docs/PasswordDictionaryApi.md#Send-PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary *PasswordManagementApi* | [**Get-PasswordChangeStatus**](docs/PasswordManagementApi.md#Get-PasswordChangeStatus) | **GET** /password-change-status/{id} | Get Password Change Request Status *PasswordManagementApi* | [**Search-PasswordInfo**](docs/PasswordManagementApi.md#Search-PasswordInfo) | **POST** /query-password-info | Query Password Info *PasswordManagementApi* | [**Set-Password**](docs/PasswordManagementApi.md#Set-Password) | **POST** /set-password | Set Identity's Password @@ -621,6 +621,7 @@ Class | Method | HTTP request | Description - [PSSailpoint\Model.PublicIdentity](docs/PublicIdentity.md) - [PSSailpoint\Model.PublicIdentityAttributeConfig](docs/PublicIdentityAttributeConfig.md) - [PSSailpoint\Model.PublicIdentityConfig](docs/PublicIdentityConfig.md) + - [PSSailpoint\Model.PutPasswordDictionaryRequest](docs/PutPasswordDictionaryRequest.md) - [PSSailpoint\Model.Query](docs/Query.md) - [PSSailpoint\Model.QueryResultFilter](docs/QueryResultFilter.md) - [PSSailpoint\Model.QueryType](docs/QueryType.md) @@ -765,7 +766,6 @@ Class | Method | HTTP request | Description - [PSSailpoint\Model.TypeAheadQuery](docs/TypeAheadQuery.md) - [PSSailpoint\Model.TypedReference](docs/TypedReference.md) - [PSSailpoint\Model.UUIDGenerator](docs/UUIDGenerator.md) - - [PSSailpoint\Model.UpdatePasswordDictionaryRequest](docs/UpdatePasswordDictionaryRequest.md) - [PSSailpoint\Model.Upper](docs/Upper.md) - [PSSailpoint\Model.UsageType](docs/UsageType.md) - [PSSailpoint\Model.Value](docs/Value.md) diff --git a/PSSailpoint/v3/docs/PasswordDictionaryApi.md b/PSSailpoint/v3/docs/PasswordDictionaryApi.md index 59a0ea731..5a1c8d5b8 100644 --- a/PSSailpoint/v3/docs/PasswordDictionaryApi.md +++ b/PSSailpoint/v3/docs/PasswordDictionaryApi.md @@ -5,7 +5,7 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/v3* Method | HTTP request | Description ------------- | ------------- | ------------- [**Get-PasswordDictionary**](PasswordDictionaryApi.md#Get-PasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary -[**Update-PasswordDictionary**](PasswordDictionaryApi.md#Update-PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary +[**Send-PasswordDictionary**](PasswordDictionaryApi.md#Send-PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary @@ -14,7 +14,7 @@ Method | HTTP request | Description Get Password Dictionary -This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` ### Example ```powershell @@ -54,14 +54,14 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **Update-PasswordDictionary** -> void Update-PasswordDictionary
+ +# **Send-PasswordDictionary** +> void Send-PasswordDictionary
>         [-File]
Update Password Dictionary -This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` ### Example ```powershell @@ -77,9 +77,9 @@ $File = # System.IO.FileInfo | (optional) # Update Password Dictionary try { - $Result = Update-PasswordDictionary -File $File + $Result = Send-PasswordDictionary -File $File } catch { - Write-Host ("Exception occurred when calling Update-PasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Exception occurred when calling Send-PasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) } ``` diff --git a/PSSailpoint/beta/docs/UpdatePasswordDictionaryRequest.md b/PSSailpoint/v3/docs/PutPasswordDictionaryRequest.md similarity index 69% rename from PSSailpoint/beta/docs/UpdatePasswordDictionaryRequest.md rename to PSSailpoint/v3/docs/PutPasswordDictionaryRequest.md index 37f37942d..c2c237650 100644 --- a/PSSailpoint/beta/docs/UpdatePasswordDictionaryRequest.md +++ b/PSSailpoint/v3/docs/PutPasswordDictionaryRequest.md @@ -1,4 +1,4 @@ -# UpdatePasswordDictionaryRequest +# PutPasswordDictionaryRequest ## Properties Name | Type | Description | Notes @@ -9,12 +9,12 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$UpdatePasswordDictionaryRequest = Initialize-PSSailpointBetaUpdatePasswordDictionaryRequest -File null +$PutPasswordDictionaryRequest = Initialize-PSSailpointPutPasswordDictionaryRequest -File null ``` - Convert the resource to JSON ```powershell -$UpdatePasswordDictionaryRequest | ConvertTo-JSON +$PutPasswordDictionaryRequest | ConvertTo-JSON ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/PSSailpoint/v3/src/PSSailpoint/Api/PasswordDictionaryApi.ps1 b/PSSailpoint/v3/src/PSSailpoint/Api/PasswordDictionaryApi.ps1 index 7b29b3eae..f399ffe5d 100644 --- a/PSSailpoint/v3/src/PSSailpoint/Api/PasswordDictionaryApi.ps1 +++ b/PSSailpoint/v3/src/PSSailpoint/Api/PasswordDictionaryApi.ps1 @@ -12,7 +12,7 @@ Get Password Dictionary .DESCRIPTION -This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` .PARAMETER ReturnType @@ -88,7 +88,7 @@ Update Password Dictionary .DESCRIPTION -This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` .PARAMETER File No description available. @@ -101,7 +101,7 @@ A switch when turned on will return a hash table of Response, StatusCode and Hea None #> -function Update-PasswordDictionary { +function Send-PasswordDictionary { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] @@ -112,7 +112,7 @@ function Update-PasswordDictionary { ) Process { - 'Calling method: Update-PasswordDictionary' | Write-Debug + 'Calling method: Send-PasswordDictionary' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() diff --git a/PSSailpoint/v3/src/PSSailpoint/Model/UpdatePasswordDictionaryRequest.ps1 b/PSSailpoint/v3/src/PSSailpoint/Model/PutPasswordDictionaryRequest.ps1 similarity index 73% rename from PSSailpoint/v3/src/PSSailpoint/Model/UpdatePasswordDictionaryRequest.ps1 rename to PSSailpoint/v3/src/PSSailpoint/Model/PutPasswordDictionaryRequest.ps1 index ddd0ef4d2..1f8d6e2a8 100644 --- a/PSSailpoint/v3/src/PSSailpoint/Model/UpdatePasswordDictionaryRequest.ps1 +++ b/PSSailpoint/v3/src/PSSailpoint/Model/PutPasswordDictionaryRequest.ps1 @@ -18,10 +18,10 @@ No description available. No description available. .OUTPUTS -UpdatePasswordDictionaryRequest +PutPasswordDictionaryRequest #> -function Initialize-UpdatePasswordDictionaryRequest { +function Initialize-PutPasswordDictionaryRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] @@ -30,7 +30,7 @@ function Initialize-UpdatePasswordDictionaryRequest { ) Process { - 'Creating PSCustomObject: PSSailpoint => UpdatePasswordDictionaryRequest' | Write-Debug + 'Creating PSCustomObject: PSSailpoint => PutPasswordDictionaryRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug @@ -46,11 +46,11 @@ function Initialize-UpdatePasswordDictionaryRequest { <# .SYNOPSIS -Convert from JSON to UpdatePasswordDictionaryRequest +Convert from JSON to PutPasswordDictionaryRequest .DESCRIPTION -Convert from JSON to UpdatePasswordDictionaryRequest +Convert from JSON to PutPasswordDictionaryRequest .PARAMETER Json @@ -58,21 +58,21 @@ Json object .OUTPUTS -UpdatePasswordDictionaryRequest +PutPasswordDictionaryRequest #> -function ConvertFrom-JsonToUpdatePasswordDictionaryRequest { +function ConvertFrom-JsonToPutPasswordDictionaryRequest { Param( [AllowEmptyString()] [string]$Json ) Process { - 'Converting JSON to PSCustomObject: PSSailpoint => UpdatePasswordDictionaryRequest' | Write-Debug + 'Converting JSON to PSCustomObject: PSSailpoint => PutPasswordDictionaryRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $JsonParameters = ConvertFrom-Json -InputObject $Json - # check if Json contains properties not defined in UpdatePasswordDictionaryRequest + # check if Json contains properties not defined in PutPasswordDictionaryRequest $AllProperties = ("file") foreach ($name in $JsonParameters.PsObject.Properties.Name) { if (!($AllProperties.Contains($name))) { diff --git a/PSSailpoint/v3/tests/Api/PasswordDictionaryApi.Tests.ps1 b/PSSailpoint/v3/tests/Api/PasswordDictionaryApi.Tests.ps1 index 2a62ac37d..f89d64754 100644 --- a/PSSailpoint/v3/tests/Api/PasswordDictionaryApi.Tests.ps1 +++ b/PSSailpoint/v3/tests/Api/PasswordDictionaryApi.Tests.ps1 @@ -14,9 +14,9 @@ Describe -tag 'PSSailpoint' -name 'PasswordDictionaryApi' { } } - Context 'Update-PasswordDictionary' { - It 'Test Update-PasswordDictionary' { - #$TestResult = Update-PasswordDictionary -File "TEST_VALUE" + Context 'Send-PasswordDictionary' { + It 'Test Send-PasswordDictionary' { + #$TestResult = Send-PasswordDictionary -File "TEST_VALUE" #$TestResult | Should -BeOfType TODO #$TestResult.property | Should -Be 0 } diff --git a/PSSailpoint/v3/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 b/PSSailpoint/v3/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 similarity index 59% rename from PSSailpoint/v3/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 rename to PSSailpoint/v3/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 index 8e9cc9ae2..1247a6425 100644 --- a/PSSailpoint/v3/tests/Model/UpdatePasswordDictionaryRequest.Tests.ps1 +++ b/PSSailpoint/v3/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 @@ -5,12 +5,12 @@ # Generated by OpenAPI Generator: https://openapi-generator.tech # -Describe -tag 'PSSailpoint' -name 'UpdatePasswordDictionaryRequest' { - Context 'UpdatePasswordDictionaryRequest' { - It 'Initialize-UpdatePasswordDictionaryRequest' { +Describe -tag 'PSSailpoint' -name 'PutPasswordDictionaryRequest' { + Context 'PutPasswordDictionaryRequest' { + It 'Initialize-PutPasswordDictionaryRequest' { # a simple test to create an object - #$NewObject = Initialize-UpdatePasswordDictionaryRequest -File "TEST_VALUE" - #$NewObject | Should -BeOfType UpdatePasswordDictionaryRequest + #$NewObject = Initialize-PutPasswordDictionaryRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutPasswordDictionaryRequest #$NewObject.property | Should -Be 0 } }