A fatal error occurred: python-security-extended.qls is not a .ql file, .qls file, a directory, or a query pack specification.
- Ngôn ngữ chính
- CodeQL
- Star
- 10.1k
- Fork
- 2.1k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 141
Mô tả
**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)
```
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- security
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100