1
0
mirror of synced 2025-12-20 10:28:40 -05:00
Files
docs/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/recommended-hardware-resources-for-running-codeql.md
AlonaHlobina 429b4c58f2 Code scanning: Create CodeQL hardware requirements page (#23820)
* Create CodeQL-hardware-requirements.md

* Update index.md

* Rename CodeQL-hardware-requirements.md to codeql-hardware-requirements.md

* Update codeql-hardware-requirements.md

* Update configuring-code-scanning.md

* Update configuring-code-scanning.md

* Update installing-codeql-cli-in-your-ci-system.md

* Update content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/codeql-hardware-requirements.md

* Apply suggestions from code review

* Apply suggestions from code review

* Update content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/codeql-hardware-requirements.md

* Apply suggestions from code review

* Rename file for new article

* Update links to renamed file

* Add link to article on adding runners

* Move link to a better location

* Remove previous link, now relocated

* Apply suggestions from code review

Co-authored-by: hubwriter <hubwriter@github.com>

* Update content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/recommended-hardware-resources-for-running-codeql.md

Co-authored-by: hubwriter <hubwriter@github.com>

* Update content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system.md

* Remove redundant meta property

* Small editorial changes I couldn't commit in the web UI

* Update content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/recommended-hardware-resources-for-running-codeql.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2021-12-20 11:33:24 +00:00

2.1 KiB

title, shortTitle, intro, product, versions, topics
title shortTitle intro product versions topics
Recommended hardware resources for running CodeQL Hardware resources for CodeQL Recommended specifications (RAM, CPU cores, and disk) for running {% data variables.product.prodname_codeql %} analysis on self-hosted machines, based on the size of your codebase. {% data reusables.gated-features.code-scanning %}
fpt ghes ghae ghec
* * * *
Advanced Security
Code scanning
CodeQL
Repositories
Integration
CI

You can set up {% data variables.product.prodname_codeql %} on {% data variables.product.prodname_actions %} or on an external CI system. {% data variables.product.prodname_codeql %} is fully compatible with {% data variables.product.prodname_dotcom %}-hosted runners on {% data variables.product.prodname_actions %}.

If you're using an external CI system, or self-hosted runners on {% data variables.product.prodname_actions %} for private repositories, you're responsible for configuring your own hardware. The optimal hardware configuration for running {% data variables.product.prodname_codeql %} may vary based on the size and complexity of your codebase, the programming languages and build systems being used, and your CI workflow setup.

The table below provides recommended hardware specifications for running {% data variables.product.prodname_codeql %} analysis, based on the size of your codebase. Use these as a starting point for determining your choice of hardware or virtual machine. A machine with greater resources may improve analysis performance, but may also be more expensive to maintain.

Codebase size RAM CPU
Small (<100 K lines of code) 8 GB or higher 2 cores
Medium (100 K to 1 M lines of code) 16 GB or higher 4 or 8 cores
Large (>1 M lines of code) 64 GB or higher 8 cores

For all codebase sizes, we recommend using an SSD with 14 GB or more of disk space. There must be enough disk space to check out and build your code, plus additional space for data produced by {% data variables.product.prodname_codeql %}.