Interpreting secret risk assessment results

Understand the results from your secret risk assessment and prioritize leak remediation.

Introduction

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

Prerequisites

You must generate a secret risk assessment report and wait for the scan to complete. See Running the secret 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:

You can also determine the number of secrets found in your private repositories by subtracting the number of public leaks from your total secrets. While remediating these secrets is less immediately important, they still pose risk if someone gains unauthorized access to your repositories, or if a repository is made public.

Step 2: Understand secret categories

Look at the Secret categories section to understand what types of secrets were leaked.

Provider patterns are often easier to identify and revoke because you know exactly which service they belong to. Generic patterns may require more investigation.

Step 3: Identify how many repositories are affected

Check the Repositories with leaks metric, which shows how many of your repositories contain secret leaks.

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

If only a few repositories contain leaks, you can:

Step 4: Review leaked secrets by type

Scroll to the bottom to see the detailed Secret type table, which includes:

The table sorts by highest count automatically, helping you identify the greatest risks.

If you see many secrets of the same type (for example, multiple AWS keys), this indicates:

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

The highest priority secrets are leaked provider patterns in public repositories, because they are:

Next, you can address secrets that present lower risk or require more extensive efforts to remediate. These can be:

Finally, look for the following indicators, which may require additional prevention efforts beyond leak remediation:

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.