Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.

Configure code scanning

Configure code scanning for your repositories by choosing between default or advanced setup and customizing advanced settings as needed.

Configuring default setup for code scanning

Quickly set up code scanning to find vulnerable code automatically.

Configuring advanced setup for code scanning

You can configure advanced setup for a repository to find security vulnerabilities in your code using a highly customizable code scanning configuration.