Skip to main content

CodeQL CLI CSV 输出

了解 CodeQL CLI中的 CSV 结果。

谁可以使用此功能?

CodeQL 可用于以下存储库类型:

以 CSV 格式保存 CodeQL CLI 中的分析结果时,每行对应于一个警报,其中包含一个逗号分隔的列表,其中包含以下信息:

          **财产**|
          **说明**|
          **示例**

-----|-----|----- Name | 标识结果的查询名称。 | Inefficient regular expression Description | 查询的说明。| A regular expression that requires exponential time to match certain inputs can be a performance bottleneck, and may be vulnerable to denial-of-service attacks. Severity | 查询的严重性。| error Message | 警报消息。| This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '\\\\'. 路径 | 包含警报的文件的路径。 | /vendor/codemirror/markdown.js 起始行 | 触发警报的代码开始的文件行。 | 617 起始列 | 标记警报代码开头的起始行的列。 如果等于 1,则不包括在内。 | 32 结束行 | 触发警报的代码结束的文件行。 当与起始行值相同时,不包括。 | 64 结束列 | 如果可用,则为标记警报代码末尾的结束行的列。 否则,将重复结束行。 | 617