Skip to content

Merge branch 'main' into dockerize-202411

1eadb5f
Select commit
Loading
Failed to load commit list.
Closed

Dockerize 202411 #4

Merge branch 'main' into dockerize-202411
1eadb5f
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PSScriptAnalyzer failed Jun 23, 2025 in 5s

11 new alerts including 3 errors

New alerts in code changed by this pull request

  • 3 errors
  • 8 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 159 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Missing name after function keyword. Error

Missing name after function keyword.

Check warning on line 193 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Function 'Set-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'Set-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check warning on line 198 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The parameter 'Vault' has been declared but not used. Warning

The parameter 'Vault' has been declared but not used.

Check warning on line 233 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Function 'Set-AtlassianAPIHeaders' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'Set-AtlassianAPIHeaders' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check warning on line 250 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Function 'New-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'New-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check warning on line 305 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

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

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.

Check warning on line 308 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

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

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.

Check warning on line 431 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Function 'Remove-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'Remove-AtlassianPowerKitProfile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check failure on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Parameter declarations are a comma-separated list of variable names with optional initializer expressions. Error

Parameter declarations are a comma-separated list of variable names with optional initializer expressions.

Check failure on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Missing ')' in function parameter list. Error

Missing ')' in function parameter list.

Check warning on line 433 in AtlassianPowerKit-Shared/AtlassianPowerKit-Shared.psm1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The parameter 'error' has been declared but not used. Warning

The parameter '__error__' has been declared but not used.