Previously working pipeline test may have started to fail with
'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128
Starting with v1.18, Go introduced version control (VCS). See v1.18 release notes
If the VCS status can't be determined for a dependency,
go list (which Snyk tests rely upon) will fail.
If your pipeline is using a Snyk action, such as github actions
snyk/actions/golang@master please ensure that you are using the latest version, as this issue has been resolved.
Alternatively if you are unable to use latest, in Github Actions, adding the following to the Snyk test will turn off the VCS