Skip to content

Comments

fix: suppress gosec G702 false positive in service_client.go#242

Merged
fwiesel merged 1 commit intomainfrom
ignore-gosec-g702
Feb 18, 2026
Merged

fix: suppress gosec G702 false positive in service_client.go#242
fwiesel merged 1 commit intomainfrom
ignore-gosec-g702

Conversation

@fwiesel
Copy link
Contributor

@fwiesel fwiesel commented Feb 18, 2026

Add nosec comment to allow command execution from OS_PW_CMD environment variable. This is an intentional feature for secure password retrieval where the environment variable is set by operator/admin, not user input.

Add nosec comment to allow command execution from OS_PW_CMD environment
variable. This is an intentional feature for secure password retrieval
where the environment variable is set by operator/admin, not user input.
@github-actions
Copy link

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/openstack 48.39% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/openstack/service_client.go 0.00% (ø) 20 0 20

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@fwiesel fwiesel merged commit 4adaa0f into main Feb 18, 2026
6 checks passed
@fwiesel fwiesel deleted the ignore-gosec-g702 branch February 18, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants