1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/content/code-security/code-scanning/troubleshooting-code-scanning/advanced-security-must-be-enabled.md
Ben Ahmady a4913b5935 New structure for troubleshooting docs (#37635)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2023-06-26 17:06:27 +00:00

12 lines
999 B
Markdown

---
title: 'Error: "Advanced Security must be enabled for this repository to use code scanning"'
shortTitle: 'Advanced Security must be enabled'
intro: 'If you see this error, make sure that {% data variables.product.prodname_GH_advanced_security %} is enabled.'
allowTitleToDifferFromFilename: true
product: '{% data reusables.gated-features.code-scanning %}'
versions:
fpt: '*'
ghec: '*'
---
For private and internal repositories, {% data variables.product.prodname_code_scanning %} is available when {% data variables.product.prodname_GH_advanced_security %} features are enabled for the repository. If you see the error `Error: "Advanced Security must be enabled for this repository to use code scanning"`, check that {% data variables.product.prodname_GH_advanced_security %} is enabled. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository)."