Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow to specify the relevant threat model when running a query

オープン
#4,027 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript, vscode
領域
devtools, security

調査の方向性

まず、CodeQL: Run Query on Selected Database コマンドと、クエリ実行に対して CLI の --threat-model オプションがどのように公開されているかを確認します。拡張機能が、関連する脅威モデルを選択または構成するための明確な方法を提供し、クエリの結果を IDE に直接表示できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement VSCode

Is your feature request related to a problem? Please describe.
The codeql CLI interface offers the option to specify a threat model by e.g. using the --threat-model local flag.
However, as far as I'm aware, there is not such feature in the IDE itself to configure the threat model.

Describe the solution you'd like
Either:

  • add a dropdown when running a query using CodeQL: Run Query on Selected Database where the user has to select the threat model every time they run a query
  • add a global config option to the plugin (could be problematic when different languages potentially support different threat models)
  • add a new CodeQL: Run Query on Selected Database with Thread Model option.
  • add a "Set Threat Model" for database command.

Describe alternatives you've considered
Run the query on the db using codeql database analyze yada yada yada --threat-model local.
However, looking at the result in SARIF isn't as nice as looking at the result of the CodeQL extension directly in the IDE.

主要言語
TypeScript
スター
539
フォーク
240
平均マージ
2日 6時間
マージ済み PR(30日)
29

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/vscode-codeql のほかの issue

github/vscode-codeql の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。