Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.75 KB

File metadata and controls

31 lines (26 loc) · 1.75 KB
title Upload fails because {% data variables.product.prodname_GH_code_security %} is disabled
shortTitle {% data variables.product.prodname_GH_code_security %} disabled
allowTitleToDifferFromFilename true
intro You can only upload SARIF results to {% ifversion fpt or ghec %}private or internal {% endif %}repositories where {% data variables.product.prodname_GH_code_security %} is enabled.
versions
fpt ghes ghec
*
*
*
redirect_from
/code-security/code-scanning/troubleshooting-sarif/ghas-required
/code-security/code-scanning/troubleshooting-sarif-uploads/ghas-required
/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-sarif-uploads/ghas-required
contentType reference
category
Troubleshoot security tools

About this error

{% data variables.product.prodname_GHAS_or_code_security %} not enabled
{% data variables.product.prodname_GHAS_or_code_security %} blocked by a policy
403: {% data variables.product.prodname_GHAS_or_code_security %} is not enabled

This error is reported if a process attempts to upload a SARIF file to a repository where {% data variables.product.prodname_GH_code_security %} is not enabled or where use of this feature is blocked by a policy.

You will only see this error for SARIF files that contain results created using {% data variables.product.prodname_codeql %}{% ifversion fpt or ghec %} and for uploads to repositories with private or internal visibility. {% data variables.product.prodname_GH_code_security %} is enabled by default for all public repositories{% endif %}.

For information on how to confirm this error and fix the problem, see AUTOTITLE.