1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/code-security/code-scanning/troubleshooting-sarif/ghas-required.md
2023-07-24 13:27:17 +00:00

1.4 KiB

title, shortTitle, allowTitleToDifferFromFilename, intro, product, type, topics, versions
title shortTitle allowTitleToDifferFromFilename intro product type topics versions
Upload fails because GitHub Advanced Security is disabled GitHub Advanced Security disabled true You can only upload SARIF results to {% ifversion fpt or ghec %}private or internal {% endif %}repositories where {% data variables.product.prodname_GH_advanced_security %} is enabled. {% data reusables.gated-features.code-scanning %} reference
Code scanning
Errors
SARIF
Troubleshooting
feature
code-scanning-tool-status-page

About this error

GitHub Advanced Security not enabled
GitHub Advanced Security blocked by a policy
403: GitHub Advanced 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_advanced_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_advanced_security %} is enabled by default for all public repositories{% endif %}.

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