-
Notifications
You must be signed in to change notification settings - Fork 190
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
Error not handled by Horusec in Nancy tool #905
Labels
kind/bug
Something isn't working
Comments
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
wiliansilvazup
added a commit
that referenced
this issue
Dec 29, 2021
**- What I did** The nancy tool requires access to the Github API's, but when accessed several times without an identification it is blocked until the user identifies himself using an authentication token that can be generated via Github, so I created a validation for this scenario and the user can add this environment variable before starting an analysis. **- How to verify it** Run many times GoLang project and see follow error: ```bash Invalid character 'E' looking for beginning of value ``` **- Description for the changelog** Error not handled by Horusec in Nancy tool [#905](#905) Signed-off-by: wilian <wilian.silva@zup.com.br>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
When run horusec in version
v2.7.0-beta.3
on the folder examples, with the command:horusec start -p .
and on the result of the errors was:Since the error is not very descriptive, I tried to increase the logging level using the flag
--log-level debug
and I found this error:Then I added this environment variable
GITHUB_TOKEN
with the value created in my github account. And this error is not shown again. Maybe you can create some treatment to make it easier for users to correct this problemWhat you expected to happen:
Environment:
horusec version
): v2.7.0-beta.3The text was updated successfully, but these errors were encountered: