Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terrascan with Private Repo and sarif_upload Enabled #34

Open
jrmash opened this issue Nov 11, 2021 · 0 comments
Open

Terrascan with Private Repo and sarif_upload Enabled #34

jrmash opened this issue Nov 11, 2021 · 0 comments

Comments

@jrmash
Copy link

jrmash commented Nov 11, 2021

I'm encountering an error when using this action in a private repository with the sarif_upload feature enabled:

| Generating SARIF file
| 2021-11-10T23:43:09.047Z      error   utils/file.go:29        file <repo>.git does not exist.
| 2021-11-10T23:43:09.049Z      error   utils/file.go:29        file <repo>.git does not exist.
| 2021-11-10T23:43:09.050Z      error   utils/file.go:29        file <repo>.git does not exist.
| 2021-11-10T23:43:09.052Z      error   utils/file.go:29        file <repo>.git does not exist.
| 2021-11-10T23:43:09.053Z      error   utils/file.go:29        file <repo>.git does not exist.

The configuration is the same as the example usage, with the following two differences:

policy_type: all
scm_token: ${{ secrets.GITHUB_TOKEN }}
@jrmash jrmash changed the title Terrascan with Private Repo and sarif_upload Enaabled Terrascan with Private Repo and sarif_upload Enabled Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant