github / github/codeql

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

オープン
#12,898 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。