/tmp/gosec.json: no such file or directory after #159
We're experiencing an issue after gosec!156 (merged)
$ echo machine gitlab.com login $GITLAB_LOGIN password $GITLAB_TOKEN >> ~/.netrc
$ /analyzer run
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ GitLab Gosec analyzer v3.5.3
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ Detecting project
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ Found relevant files in project, analyzing entire repository
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ Running analyzer
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ using /go/src/app for the go pkg path
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ go modules detected
[INFO] [Gosec] [2022-08-10T12:39:02Z] ▶ Fetching dependencies...
[INFO] [Gosec] [2022-08-10T12:39:23Z] ▶ Running gosec...
[FATA] [Gosec] [2022-08-10T12:40:29Z] ▶ open /tmp/gosec.json: no such file or directory
Uploading artifacts for failed job
Working fine on v3.5.2
gosec-sast:
variables:
SAST_ANALYZER_IMAGE_TAG: "3.5.2"
$ echo machine gitlab.com login $GITLAB_LOGIN password $GITLAB_TOKEN >> ~/.netrc
$ /analyzer run
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ GitLab Gosec analyzer v3.5.2
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ Detecting project
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ Found relevant files in project, analyzing entire repository
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ Running analyzer
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ using /go/src/app for the go pkg path
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ go modules detected
[INFO] [Gosec] [2022-08-10T14:28:31Z] ▶ Fetching dependencies...
[INFO] [Gosec] [2022-08-10T14:28:47Z] ▶ Running gosec...
[INFO] [Gosec] [2022-08-10T14:30:57Z] ▶ Creating report
Uploading artifacts for successful job