github / github/codeql

Where do library customization data extension YAML files go, and how can we actually develop and use them?

Aberta
#21,174 3 comentários 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

The documentation for library customisation / data extensions describes the structure of the YAML files, but I cannot see any documentation on where these files should be placed, or how they can be invoked (or debugged) using CodeQL CLI or the vscode extension.

Some of the documentation implies that these YAML files are intended to be built into query packs and are loaded that way, but I didn't see any examples on how this is actually done in practice, nor any that explained how to develop and test the extensions before packing them.

Could someone provide some insight into this, and potentially update the documentation to include an example of a practical development flow using this feature? I know this feature is in beta, so the docs aren't 100% there yet, but a practical example would go a long way towards getting folks hands-on with it. Thanks.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start with the existing library customization and data extension documentation, then trace the query pack guidance and the CodeQL CLI and VS Code workflows mentioned in the issue. Add a practical example covering file placement, development, testing, invocation, and debugging; done means a newcomer can follow the flow before and after packing the extension.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
vscode, yaml
Domínio
documentation
Tipo de issue
Documentação
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
58/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.