github / github/codeql

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

未關閉
#21,174 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

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.

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
vscode, yaml
領域
documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。