| title | Use the tool status page for code scanning | ||||||
|---|---|---|---|---|---|---|---|
| shortTitle | Use tool status page | ||||||
| intro | View real-time tool status, identify configuration problems, and download reports to keep your {% data variables.product.prodname_code_scanning %} analysis running smoothly. | ||||||
| permissions | {% data reusables.permissions.code-scanning-all-alerts %} | ||||||
| product | {% data reusables.gated-features.code-scanning %} | ||||||
| allowTitleToDifferFromFilename | true | ||||||
| versions |
|
||||||
| redirect_from |
|
||||||
| contentType | how-tos | ||||||
| category |
|
{% data reusables.code-scanning.enterprise-enable-code-scanning %}
The {% data variables.code-scanning.tool_status_page %} shows information about all of your code scanning tools and is a good starting point for debugging problems. For more information about what the tool is and the information it provides, see AUTOTITLE.
The {% data variables.product.prodname_code_scanning %} alerts page for each repository includes a tools banner with a summary of the health of your code scanning analysis, and access to the {% data variables.code-scanning.tool_status_page %} to explore your setup.
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-security %} {% data reusables.repositories.sidebar-code-scanning-alerts %}
In the {% data variables.code-scanning.tool_status_page %}, you'll see a summary for one tool, highlighted in the sidebar. You can use the sidebar to view summaries for different tools.
For integrated tools such as {% data variables.product.prodname_codeql %}, you can see a percentage total of all the files most recently scanned in your repository, organized by programming language. You can also download detailed language reports in CSV format. See Downloading details of the files analyzed.
When you want to see more detailed information for the currently displayed tool, you can select a specific setup under "Setup types".
Under "Configurations" on the left of the screen, you can see information for each analysis run by this setup type, and any relevant error messages. To see detailed information about the most recent analysis run, select a configuration in the sidebar. You can download details of exactly which rules were run in that scan of the code and how many alerts were found by each rule. For more information, see Downloading lists of rules used.
This view will also show error messages. For more information, see Debugging using the tool status page.
For integrated tools such as {% data variables.product.prodname_codeql %}, you can download detailed reports from the {% data variables.code-scanning.tool_status_page %} in CSV format. This will show:
- Which configuration was used to scan each file
- The file path
- The programming language of the file
- Whether the file was successfully extracted
To download a report, select a tool you're interested in. Then on the top right of the page, click the {% octicon "download" aria-label="Download language CSV report" %} button.
You can download the list of rules that {% data variables.product.prodname_code_scanning %} is checking against, in CSV format. This will show:
- The configuration used
- The rule source
- The SARIF identifier
- How many alerts were found
To download a report, select a configuration you're interested in. Then click {% octicon "kebab-horizontal" aria-label="Configuration menu" %} on the top right of the page, and select {% octicon "download" aria-hidden="true" aria-label="download" %} Download list of rules used.
You can remove stale, duplicate, or unwanted configurations for the default branch of your repository.
To remove a configuration, select the configuration you want to delete. Then click {% octicon "kebab-horizontal" aria-label="Configuration menu" %} on the top right of the page, and select {% octicon "trash" aria-hidden="true" aria-label="trash" %} Delete configuration. Once you have read the warning about alerts, to confirm the deletion, click the Delete button.
Note
You can only use the {% data variables.code-scanning.tool_status_page %} to remove configurations for the default branch of a repository. For information about removing configurations from non-default branches, see AUTOTITLE.
If you see that there is a problem with your analysis from the {% data variables.product.prodname_code_scanning %} alerts page, you can use the {% data variables.code-scanning.tool_status_page %} to identify the problem. For integrated tools, you can see specific error messages in the detailed information section, related to specific {% data variables.product.prodname_code_scanning %} tools. These error messages contain information about why the tool may not be performing as expected, and actions you can take. For more information about how to access this section of the {% data variables.code-scanning.tool_status_page %}, see Accessing detailed information about tools.
For integrated tools such as {% data variables.product.prodname_codeql %}, you can also use file coverage information to improve your analysis. For more information about interpreting file coverage percentages, see AUTOTITLE.


