fix: remediate Snyk high Go module findings#114
Open
JoshSEdwards wants to merge 3 commits into
Open
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
8de406c to
a0d84be
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repo
vinyldns/vinyldns-climainsnyksweeper/vinyldns-cli-20260603T162653Zf9d1709844fe9b31ee948df9e43f83dc071cd84fKB Source
snyksweeper-skill/kb/README.mdsnyksweeper-skill/kb/vinyldns/vinyldns-cli.md<NEEDS VALIDATION>.Findings Addressed
gomodulesfindings ongo.mod.github.com/aws/aws-sdk-go-v2.Changes Made
github.com/aws/aws-sdk-go-v2fromv1.26.1tov1.32.8ingo.mod.github.com/aws/smithy-gofromv1.20.2tov1.22.1ingo.mod.go.sumto match the resolved module graph.godirective at1.21; newer AWS module lines that likely cleared more aggressively requiredgo 1.24+, which would have been a broader change than necessary.Validation Run
gmake build: passgo vet ./src/...: passsnyk test --file=go.mod --package-manager=gomodules --json: pass, summaryNo known vulnerabilitiesdocker build -f Dockerfile -t snyk-kb/vinyldns-cli-dockerfile:local .: fail due to known KB note and current Dockerfile behavior,golang:alpineimage lacksbashwhile the Makefile setsSHELL=bashgmake test: error in this environment because the acceptance-test stack depends on container images without matchinglinux/arm64manifests;start-apinever reached readinessgo.modfindingsRemaining Findings
go.modSnyk scan after remediation.Risk Notes
<NEEDS VALIDATION>and two KB-guided slices are environment-constrained on this machine.Reviewer Notes
go vetremain clean after the dependency update.Next Action
bashissue and the arm64 acceptance-test environment gap.