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

nancy:chore - Error not handled by Horusec in Nancy tool #906

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

wiliansilvazup
Copy link
Contributor

- 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:

Invalid character 'E' looking for beginning of value

- Description for the changelog
Error not handled by Horusec in Nancy tool #905

Signed-off-by: wilian wilian.silva@zup.com.br

@wiliansilvazup wiliansilvazup changed the title nancy:chore - Fix message of the error when nancy return rate rate-limiting on unauthenticated requests. nancy:chore - Error not handled by Horusec in Nancy tool Dec 29, 2021
@wiliansilvazup wiliansilvazup self-assigned this Dec 29, 2021
@wiliansilvazup wiliansilvazup added the kind/improvement This issue is not a Bug nor a Feature label Dec 29, 2021
@wiliansilvazup wiliansilvazup linked an issue Dec 29, 2021 that may be closed by this pull request
@wiliansilvazup wiliansilvazup force-pushed the bugfix/nancy-ratelimit branch 5 times, most recently from 371cb1b to abf24e2 Compare December 29, 2021 18:01
**- 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 wiliansilvazup merged commit 3623976 into main Dec 29, 2021
@wiliansilvazup wiliansilvazup deleted the bugfix/nancy-ratelimit branch December 29, 2021 18:32
@wiliansilvazup wiliansilvazup linked an issue Jan 19, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement This issue is not a Bug nor a Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error not handled by Horusec in Nancy tool formatters/nancy: log correct errors
2 participants