github / github/codeql

[Question] How to CodeQL CLI automatically determine custom qlpacks to run with default qlpacks

未关闭
#12,898 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

**Description of the issue**
I 'm using codeql bundle to analyze with command
```
codeql database analyze codeqldb --format=sarif-latest --output=result.sarif
```
`codeqldb` is database codeql of project java. This command will analyze `codeqldb` with default qlpacks `codeql\java-queries`

I have a custom qlpack for java with name `customql/java-queries` and this qlpack has been added into codeql workspace. But this custom qlpacks was not automatically determine by the codeql

The question is how codeql automatically determine all the qlpacks in codeql workspace base on the language (java, csharp,...)

For example: When run command `codeql database analyze codeqldb --format=sarif-latest --output=result.sarif` codeql will auto analyze with qlpack `codeql\java-queries` and `customql/java-queries`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。