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 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
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 摘要。