Skip to content

Commit 32d6be3

Browse files
benedictebnclaude
andcommitted
fix: suppress gosec G117 false positive on credential payload field
The Password field is a credential payload sent to the API, not a hardcoded secret. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent be4da08 commit 32d6be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/pullsecret.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type PullSecret struct {
99

1010
type PullSecretCredential struct {
1111
Username string `json:"username"`
12-
Password string `json:"password"`
12+
Password string `json:"password"` //nolint:gosec // G117: this is a credential payload, not a hardcoded secret
1313
}
1414

1515
type NewPullSecretRequest struct {

0 commit comments

Comments
 (0)