Skip to content

Commit 5b8d3b8

Browse files
[EDI] CodeQL CLI CSV output (#59693)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 72cedd7 commit 5b8d3b8

File tree

1 file changed

+2
-8
lines changed
  • content/code-security/reference/code-scanning/codeql/codeql-cli

1 file changed

+2
-8
lines changed

content/code-security/reference/code-scanning/codeql/codeql-cli/csv-output.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: CodeQL CLI CSV output
3-
intro: You can output results from the {% data variables.product.prodname_codeql_cli %} in CSV format to share with other systems.
3+
intro: Understand CSV results from the {% data variables.product.prodname_codeql_cli %}.
44
product: '{% data reusables.gated-features.codeql %}'
55
allowTitleToDifferFromFilename: true
66
versions:
@@ -16,13 +16,7 @@ redirect_from:
1616
contentType: reference
1717
---
1818

19-
## About CSV output
20-
21-
You can save analysis results from the {% data variables.product.prodname_codeql_cli %} in a number of different formats, including SARIF and CSV. We do generally recommend SARIF because it is a standard output for static analysis tools and easier to parse. You can also upload SARIF files to {% data variables.product.github %}. However, CSV format may be useful if you need to further process the analysis results using your own tools. For more information on selecting a file format for your analysis results, see [AUTOTITLE](/code-security/codeql-cli/codeql-cli-manual/database-analyze).
22-
23-
For more information about the SARIF format, see [AUTOTITLE](/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/sarif-output).
24-
25-
If you choose to generate results in CSV format, then each line in the output file corresponds to an alert. Each line is a comma-separated list with the following information.
19+
When you save analysis results from the {% data variables.product.prodname_codeql_cli %} in CSV format, each line corresponds to an alert, containing a comma-separated list with the following information:
2620

2721
**Property**|**Description**|**Example**
2822
-----|-----|-----

0 commit comments

Comments
 (0)