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

rejecting SARIF, as there are more results per run than allowed #43

Open
xomgc3 opened this issue Apr 26, 2023 · 1 comment
Open

rejecting SARIF, as there are more results per run than allowed #43

xomgc3 opened this issue Apr 26, 2023 · 1 comment

Comments

@xomgc3
Copy link

xomgc3 commented Apr 26, 2023

Generally, tfsec is a great tool. We have a couple of very large directories in one of our repos that are throwing this error when attempting to upload the results to GHAS.

Error: Code Scanning could not process the submitted SARIF file:
rejecting SARIF, as there are more results per run than allowed (42118 > 25000)
Error: Code Scanning could not process the submitted SARIF file:
rejecting SARIF, as there are more results per run than allowed (42118 > 25000)
    at Object.waitForProcessing (/runner/_work/_actions/github/codeql-action/v2/lib/upload-lib.js:329:23)
    at async run (/runner/_work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:55:13)
    at async runWrapper (/runner/_work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:70:9)

How should the "more results per run than allowed" be resolved? Thanks!

@xomgc3
Copy link
Author

xomgc3 commented May 3, 2023

Could this be related?

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