Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 #35

Merged
merged 66 commits into from
Oct 8, 2024
Merged

2.0.0 #35

merged 66 commits into from
Oct 8, 2024

Conversation

Akaizoku
Copy link
Owner

@Akaizoku Akaizoku commented Oct 8, 2024

No description provided.

Add repair function and improve backup & restore
Add new function to download release from Alteryx license portal
Update start, stop, and restart functions to report status properly
Fix issue with multiple return statements and better reporting for completion with errors
Add new ping option to check the status of Alteryx Server
Revert to calling service utility to retrieve full version number
Fix check for backup path and amend error message
Add option to open the Alteryx application
Update product reference to global properties
Add option to customise script configuration interactively
@Akaizoku Akaizoku self-assigned this Oct 8, 2024
}
if ($ConfigureLicenseAPI) {
$LicenseAPIToken = (Read-Host -Prompt $LicenseAPIPrompt).Trim()
$EncryptedLicenseAPIToken = ConvertFrom-SecureString -SecureString (ConvertTo-SecureString -String $LicenseAPIToken.ToString() -AsPlainText -Force)

Check failure

Code scanning / PSScriptAnalyzer

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead. Error

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead.
$ServerAPIKey = (Read-Host -Prompt $APIKeyPrompt).Trim()
$ServerAPISecret = (Read-Host -Prompt $APISecretPrompt).Trim()
$ServerAPIToken = [Ordered]@{
"key" = ConvertFrom-SecureString -SecureString (ConvertTo-SecureString -String $ServerAPIKey -AsPlainText -Force)

Check failure

Code scanning / PSScriptAnalyzer

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead. Error

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead.
$ServerAPISecret = (Read-Host -Prompt $APISecretPrompt).Trim()
$ServerAPIToken = [Ordered]@{
"key" = ConvertFrom-SecureString -SecureString (ConvertTo-SecureString -String $ServerAPIKey -AsPlainText -Force)
"secret" = ConvertFrom-SecureString -SecureString (ConvertTo-SecureString -String $ServerAPISecret -AsPlainText -Force)

Check failure

Code scanning / PSScriptAnalyzer

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead. Error

File 'Invoke-SetupScript.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead.
powershell/Invoke-SetupScript.ps1 Dismissed Show dismissed Hide dismissed
@Akaizoku Akaizoku merged commit 878b79d into main Oct 8, 2024
1 of 2 checks passed
@Akaizoku Akaizoku deleted the develop branch October 8, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant