ci(lint): update PSScriptAnalyzer settings and suppress warnings for plain-text passwords in templates

This commit is contained in:
Simone
2026-05-13 18:54:22 +02:00
committed by Simone
parent 366ff0ce46
commit 7e6b65db18
6 changed files with 23 additions and 5 deletions
+2
View File
@@ -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,