Dockerize 202411 #4
11 new alerts including 3 errors
New alerts in code changed by this pull request
- 3 errors
- 8 warnings
See annotations below for details.
Annotations
Check failure on line 159 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Missing name after function keyword. Error
Check warning on line 193 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Function 'Set-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
Check warning on line 198 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
The parameter 'Vault' has been declared but not used. Warning
Check warning on line 233 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Function 'Set-AtlassianAPIHeaders' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
Check warning on line 250 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Function 'New-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
Check warning on line 305 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
File 'AtlassianPowerKit-Shared.psm1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning
Check warning on line 308 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
File 'AtlassianPowerKit-Shared.psm1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information. Warning
Check warning on line 431 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Function 'Remove-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
Check failure on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Parameter declarations are a comma-separated list of variable names with optional initializer expressions. Error
Check failure on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
Missing ')' in function parameter list. Error
Check warning on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1
Code scanning / PSScriptAnalyzer
The parameter 'error' has been declared but not used. Warning