Skip to content

GitHub Analyzer doesn't handle rate limit #4570

@rgmz

Description

@rgmz

Please review the Community Note before submitting

TruffleHog Version

Latest

Trace Output

Image

Expected Behavior

Handles rate limits gracefully.

Actual Behavior

Fails unexpected, does not complete.

Error getting gists.
[x] GET https://api.github.com/gists?page=1&per_page=100: 403 Rate Limit Exceeded []

Steps to Reproduce

N/A -- depends on the token

Environment

N/A

Additional Context

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions