ci(lint): update PSScriptAnalyzer settings and suppress warnings for plain-text passwords in templates
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
# Linux
|
||||
.\Validate-DeployState.ps1 -VMIPAddress 192.168.79.200 -GuestOS Linux
|
||||
#>
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '',
|
||||
Justification = 'Template validation script: plain-text password converted to SecureString for WinRM PSCredential. Intentional by design.')]
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory)] [string] $VMIPAddress,
|
||||
|
||||
Reference in New Issue
Block a user