Skip to content

fix: suppress gosec G117 on credential marshals - #1139

Draft
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/3de21e14
Draft

fix: suppress gosec G117 on credential marshals#1139
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/3de21e14

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Task 3de21e14-e6bf-4178-ac2a-f6ad57c53002. Adds // #nosec G117 annotations where JSON marshaling legitimately carries secret fields (G117): docker/git credential tunnel responses in pkg/agent/tunnelserver, the localhost git credentials request in cmd/internal, persisted client config access key in pkg/platform/client, and test fixture credentials in pkg/dockercredentials.

Verification: golangci-lint gosec run over all four packages shows 0 remaining G117 findings; scoped go test for ./pkg/agent/tunnelserver/... ./pkg/dockercredentials/... ./cmd/internal/... ./pkg/platform/client/... all pass.

Add #nosec G117 annotations where structs legitimately carry
secrets in JSON: docker/git credential tunnel responses, the
localhost git credentials request, persisted client config, and
test fixture credentials.
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev ready!

Name Link
🔨 Latest commit eab3b08
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a8e95146280b5000898de27
😎 Deploy Preview https://deploy-preview-1139--devsydev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit eab3b08
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a8e9514cbd6a40008e38d39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant