Interpreting code security risk assessment results

Understand the results from your code security risk assessment and prioritize vulnerability remediation.

Introduction

In this tutorial, you'll interpret your code security risk assessment results, and learn how to:

Prerequisites

You must generate a code security risk assessment report and wait for the scan to complete. See Running the code security risk assessment for your organization.

Step 1: Understand your dashboard metrics

Once your assessment completes, review the key metrics at the top of the dashboard:

Step 2: Review vulnerabilities by language

Look at the Vulnerabilities by language chart to understand which languages in your codebase are contributing most to your overall vulnerability count.

If vulnerabilities are concentrated in a particular language, this may indicate:

Step 3: Identify the most affected repositories

In the Repositories scanned table, you can see each scanned repository alongside the ratio of vulnerabilities eligible for Copilot Autofix out of the total vulnerabilities found.

The Most vulnerable repository metric at the top of the page highlights the repository with the highest vulnerability count. This is a good place to start when prioritizing remediation.

If a high percentage of repositories contain vulnerabilities, this may indicate:

If only a few repositories contain vulnerabilities, you can focus remediation efforts on specific teams or codebases.

Step 4: Review rules detected

Scroll to the Rules detected table to see a breakdown of vulnerabilities by rule, including:

The table sorts by vulnerability count by default, helping you identify the most prevalent issues. Pay particular attention to rules with a Critical or High severity that appear across multiple repositories, as these represent the greatest risk.

Step 5: Prioritize remediation

Now that you understand the metrics, prioritize remediation based on risk.

The highest priority vulnerabilities are critical and high severity rules that appear across multiple repositories, because they:

Next, address vulnerabilities that present lower risk or require more effort to remediate:

Also look for the following indicators, which may require broader intervention beyond individual fixes:

Remediating the vulnerabilities or leaks identified by the risk assessment is easier with GitHub Advanced Security. Owners of eligible organizations on GitHub Team can start a trial from a completed code security risk assessment.

To start remediating vulnerabilities with Copilot Autofix, enable GitHub Code Security for your organization. You have two options: