From af4c6f055185e34c8e9da5ade50116d124b9de7f Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 8 May 2024 02:31:56 -0700 Subject: [PATCH] Update CodeQL CLI manual (#50480) --- .../codeql-cli-manual/github-upload-results.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/code-security/codeql-cli/codeql-cli-manual/github-upload-results.md b/content/code-security/codeql-cli/codeql-cli-manual/github-upload-results.md index 2fbbbae5fb83..590820392a5e 100644 --- a/content/code-security/codeql-cli/codeql-cli-manual/github-upload-results.md +++ b/content/code-security/codeql-cli/codeql-cli-manual/github-upload-results.md @@ -86,6 +86,20 @@ two separate SARIF files with different categories. This option only works in conjunction with SARIF files produced by CodeQL with SARIF version 2.1.0 (this is the default version of SARIF used by CodeQL). +#### `--no-wait-for-processing` + +By default, the CLI will wait for GitHub to process the SARIF file for a +maximum of 2 minutes, returning a non-zero exit code if there were any +errors during processing of the analysis results. You can customize how +long the CLI will wait wait with `--wait-for-processing-timeout`, or +disable the feature with `--no-wait-for-processing`. + +#### `--wait-for-processing-timeout=` + +The maximum time the CLI will wait for the uploaded SARIF file to be +processed by GitHub, in seconds. The default is 120 seconds (2 minutes). +This option is only valid when `--wait-for-processing` is enabled. + #### `--format=` Select output format. Choices include: