github / github/codeql

A fatal error occurred: python-security-extended.qls is not a .ql file, .qls file, a directory, or a query pack specification.

オープン
#21,293 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**Description of the issue**

Can someone please help me check this issue

```
##[warning] Error running analysis for python: Error: Error running the 'database analyze' CodeQL command (2)
A fatal error occurred: python-security-extended.qls is not a .ql file, .qls file, a directory, or a query pack specification.

##[warning] Error: Error running the 'database analyze' CodeQL command (2)
##[warning] Error: Error running the 'database analyze' CodeQL command (2)
at g.databaseAnalyze (/home/ubuntu/myagent/_work/_tasks/AdvancedSecurity-Codeql-Analyze_a9efc1ef-3900-494f-a460-963e3f5f6928/1.1.349/index.js:1:83569)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async t.Analyze.runQueries (/home/ubuntu/myagent/_work/_tasks/AdvancedSecurity-Codeql-Analyze_a9efc1ef-3900-494f-a460-963e3f5f6928/1.1.349/index.js:1:64208)
at async /home/ubuntu/myagent/_work/_tasks/AdvancedSecurity-Codeql-Analyze_a9efc1ef-3900-494f-a460-963e3f5f6928/1.1.349/index.js:1:72572
##[warning] Error running analysis for python: Error: Error running the 'database analyze' CodeQL command (2)
##[error]Error running analysis for python: Error: Error running the 'database analyze' CodeQL command (2)

```

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

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

調査の方向性

Start with the AdvancedSecurity-Codeql-Analyze task's database analyze invocation and the python-security-extended.qls argument shown in the error. Trace how that query selection is supplied for Python analysis, then reproduce the command and verify that analysis completes without the fatal query-file error.

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

評価

技術スタック
python
領域
security
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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