Assessing adoption of security features

See which teams and repositories have already enabled features for secure coding, and identify any that are not yet protected.

You can use security overview to see which repositories and teams have already enabled each security feature, and where people need more encouragement to adopt these features.

"Pull request alerts" are reported as enabled only when code scanning has analyzed at least one pull request since alerts were enabled for the repository.

Viewing the enablement of security features for an organization

You can view data to assess the enablement of features for secure coding across repositories in an organization.

  1. On GitHub, navigate to the main page of the organization.

  2. Under your organization name, click the Security and quality tab.

  3. To display the "Security coverage" view, in the sidebar, click Coverage.

  4. Use options in the page summary to filter results to show the repositories you want to assess. The list of repositories and metrics displayed on the page automatically update to match your current selection. For more information on filtering, see Filtering alerts in security overview.

    For AI Scan for pull requests, the summary shows the number of repositories where the feature is enabled or not enabled, and the repository list shows each repository's status. An enabled status reflects effective enablement after enterprise policy, organization configuration, prerequisites, and any repository opt-out are applied. A not enabled status can include repositories that are ineligible for AI Scan, and security overview does not distinguish the reason why the feature is not enabled.

Viewing the enablement of features for secure coding in an enterprise

You can view data to assess the enablement of security features across organizations in an enterprise.

  1. Navigate to GitHub Enterprise Cloud.

  2. In the top-right corner of GitHub, click your profile picture.

  3. Depending on your environment, click Enterprise, or click Enterprises then click the enterprise you want to view.

  4. At the top of the page, click the Security and quality tab.

  5. To display the "Security coverage" view, in the sidebar, click Coverage.

  6. Use options in the page summary to filter results to show the repositories you want to assess. The list of repositories and metrics displayed on the page automatically update to match your current selection. For more information on filtering, see Filtering alerts in security overview.

    For AI Scan for pull requests, the summary shows the number of repositories where the feature is enabled or not enabled, and the repository list shows each repository's status. An enabled status reflects effective enablement after enterprise policy, organization configuration, prerequisites, and any repository opt-out are applied. A not enabled status can include repositories that are ineligible for AI Scan, and security overview does not distinguish the reason why the feature is not enabled.

    Tip

    You can use the owner filter in the search field to filter the data by organization. For more information, see Filtering alerts in security overview.

You can view data to assess the enablement status and enablement status trends of security features for an organization.

  1. On GitHub, navigate to the main page of the organization.
  2. Under your organization name, click the Security and quality tab.
  3. In the sidebar, under "Insights," click Enablement.
  4. Click on one of the tabs for "Dependabot," "Code scanning," or "Secret scanning" to view enablement trends and the percentage of repositories in your organization with that feature enabled. This data is displayed as a graph and a detailed table.
  5. Optionally, use the options at the top of the "Enablement trends" view page to filter the group of repositories you want to see enablement trends for.

You can view data to assess the enablement status and enablement status trends of security features across organizations in an enterprise.

  1. Navigate to GitHub Enterprise Cloud.
  2. In the top-right corner of GitHub, click your profile picture.
  3. Depending on your environment, click Enterprise, or click Enterprises then click the enterprise you want to view.
  4. At the top of the page, click the Security and quality tab.
  5. To display the "Enablement trends" view, in the sidebar, under "Insights", click Enablement.
  6. Click on one of the tabs for "Dependabot," "Code scanning," or "Secret scanning" to view enablement trends and the percentage of repositories across organizations in your enterprise with that feature enabled. This data is displayed as a graph and a detailed table.
  7. Optionally, use the options at the top of the "Enablement trends" view page to filter the group of repositories you want to see enablement trends for.

You can use the `owner:` filter in the search field to filter the data by organization. For more information, see [Filtering alerts in security overview](/en/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/filtering-alerts-in-security-overview).

Acting on enablement data

After you have reviewed enablement coverage, consider the following actions.

  1. Check if your enterprise has configured overly restrictive policies that limit the use of security features. See Enforcing policies for code security and analysis for your enterprise.

  2. Enable features that should be enabled on all repositories. For information on enabling features for a whole organization, see Configuring security features in your organization.

    For example, secret scanning alerts and push protection reduce the risk of a security leak no matter what information is stored in the repository. If you see repositories that don't already use these features, you should either enable them or discuss an enablement plan with the team who owns the repository.

  3. For other features, consider whether the feature should be enabled in more repositories. For example, there would be no point in enabling Dependabot for repositories that only use ecosystems or languages that are unsupported. As such, it's normal to have some repositories where these features are not enabled.

Next steps

You can download a CSV file of the data displayed on the "Security coverage" page. This data file can be used for efforts like security research and in-depth data analysis, and can integrate easily with external datasets. See Exporting data from security overview.

You can use the "Enablement trends" view to see enablement status and enablement status trends over time for Dependabot, code scanning, or secret scanning across repositories or organizations. See Viewing enablement trends for an organization or Viewing enablement trends for an enterprise.