{"meta":{"title":"与现有工具集成","intro":"将code scanning与您现有的工具和工作流集成，可以在您的 CI 系统中运行扫描，或者使用静态分析结果互换格式（SARIF）将结果上传到GitHub。","product":"安全性和代码质量","breadcrumbs":[{"href":"/zh/code-security","title":"安全性和代码质量"},{"href":"/zh/code-security/how-tos","title":"How-tos"},{"href":"/zh/code-security/how-tos/find-and-fix-code-vulnerabilities","title":"查找和修复代码漏洞"},{"href":"/zh/code-security/how-tos/find-and-fix-code-vulnerabilities/integrate-with-existing-tools","title":"与现有工具集成"}],"documentType":"subcategory"},"body":"# 与现有工具集成\n\n将code scanning与您现有的工具和工作流集成，可以在您的 CI 系统中运行扫描，或者使用静态分析结果互换格式（SARIF）将结果上传到GitHub。\n\n## Links\n\n* [在现有 CI 系统上使用代码扫描](/zh/code-security/how-tos/find-and-fix-code-vulnerabilities/integrate-with-existing-tools/use-with-existing-ci-system)\n\n  可以使用 CodeQL CLI 或第三方持续集成系统中的其他工具分析代码，并将结果上传到 GitHub。 生成的 code scanning 警报与 GitHub 中生成的任何警报一起显示。\n\n* [将 SARIF 文件上传到 GitHub](/zh/code-security/how-tos/find-and-fix-code-vulnerabilities/integrate-with-existing-tools/upload-sarif-file)\n\n  您可以将 SARIF 文件从第三方静态分析工具上传到 GitHub，并且在仓库中看到 code scanning 来自这些工具的警报。"}