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

Function 'Get-SSRSCredential' has both Username and Password parameters #15

Open
timabell opened this issue Nov 14, 2016 · 0 comments
Open

Comments

@timabell
Copy link
Owner

-------- Forwarded Message --------
Subject: [PowerShell Gallery] SSRS 1.3.0 - Action Required
Date: Mon, 14 Nov 2016 18:50:32 +0000
From: Jianyun Tao [email protected]
To: [email protected] [email protected]
CC: Config Gallery Admin [email protected]

Hi timabell ([email protected]),

Thank you for contributing to the PowerShell Gallery. We have analyzed your item, SSRS 1.3.0 and found it contains the following issues:

RuleName
Severity
FileName
Line
Message

PSAvoidUsingUserNameAndPassWordParams
Error
Get-SSRSCredential.ps1
6
Function 'Get-SSRSCredential' has both Username and Password parameters. Either set the type of the Password parameter to SecureString or replace the Username and Password parameters with a Credential parameter of type PSCredential. If using a Credential parameter in PowerShell 4.0 or earlier, please define a credential transformation attribute after the PSCredential type attribute.

PSAvoidUsingConvertToSecureStringWithPlainText
Error
Get-SSRSCredential.ps1
12
File 'Get-SSRSCredential.ps1' uses ConvertTo-SecureString with plaintext. This will expose secure information. Encrypted standard strings should be used instead.

These errors were generated by PowerShell Script Analyzer, which can be found at http://www.powershellgallery.com/packages/PSScriptAnalyzer/.

Please resolve the issues and then republish your item to the gallery.

Your feedback about PowerShell Script Analyzer rules or the scan itself is welcome. If you feel that the rules applied in your item's scan results are too restrictive or can result in false hits, please file an issue at https://github.com/powershell/psscriptanalyzer/issues. Alternatively, you can respond to this thread and let us know.

If you would like to unlist your item until the issue is resolved, please follow these steps:

  1. Open http://www.powershellgallery.com, and sign in with your account credentials.

  2. Click your account name in the upper right of the page.

  3. Click Manage My Items.

  4. Next to the item you want to unlist, click the Unlist icon.

If you would like us to delete the original item version, respond and let us know. Otherwise, your item can remain unlisted.

Thank you for your cooperation,

PowerShell Gallery Administrators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant