github / github/codeql

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

Abierto
#12,898 2 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

**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`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.