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

Issue with SonarQube results pagination #72

Closed
lylebarner opened this issue Nov 14, 2022 · 0 comments
Closed

Issue with SonarQube results pagination #72

lylebarner opened this issue Nov 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lylebarner
Copy link
Contributor

When retrieving results from the SonarQube server, SCRUB will use successive curl commands to pull down 500 results at a time. There is an upper limit of 10,000 results that can be retrieved from the server, after this point an error message is printed. SCRUB currently doesn't handle this error and can result in an infinite loop.

SCRUB logic should be updated to place a maximum limit of 20 curl commands (500 results, 20 pages). This will prevent the infinite loop from occurring.

@lylebarner lylebarner added the bug Something isn't working label Nov 14, 2022
@lylebarner lylebarner self-assigned this Nov 14, 2022
lylebarner added a commit that referenced this issue Nov 14, 2022
lylebarner added a commit that referenced this issue Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant