标签: codeql

有没有办法从 GitHub 上的 CodeQL 扫描中排除文件

我尝试过使用从https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerability-and-errors/configuring-中读到的 paths-ignore代码扫描,但它没有帮助,因为他们无法确定 git 操作运行时将分析哪些文件。我还发现了这篇文章https://josh-ops.com/posts/github-codeql-ignore-files/,其中讨论了使用 filter-sarif 操作,但它没有发布到市场。任何建议,将不胜感激

security yaml github github-actions codeql

5
推荐指数
0
解决办法
2269
查看次数

GitHub Actions:CodeQL 分析结果

我已通过网站将 CodeQL 集成到我的 github 项目中。它可以工作、分析并生成 SARIF 文件。然后它说结果已成功上传:

Uploading results
  Processing sarif files: ["/home/runner/work/my_project/results/cpp-builtin.sarif"]
  Uploading results
  Successfully uploaded results
Run Code Online (Sandbox Code Playgroud)

在哪里?我在哪里可以找到这些结果并阅读它们?CodeQL 如何指示发现问题?我的 .yaml 包含:

    - run: |
       sudo -n apt-get install -y autopoint gettext
       autoreconf --install
       ./configure
       make
    - name: Perform CodeQL Analysis
      uses: github/codeql-action/analyze@v1
Run Code Online (Sandbox Code Playgroud)

github-actions codeql

2
推荐指数
1
解决办法
1085
查看次数

标签 统计

codeql ×2

github-actions ×2

github ×1

security ×1

yaml ×1