Skip to main content

Setting up GitHub Code Scanning Alerts and Bitbucket Code Insights in Code Reviews

Setting up GitHub Code Scanning Alerts or Bitbucket Code Insights in Code Reviews to view scan results directly in your Git provider's native interface.

Written by David Martin

If your team uses GitHub Advanced Security (Code Scanning Alerts) or Bitbucket Code Insights to manage Salesforce development, you can configure Code Reviews to push scan results directly into your repository. This gives you a unified view of your code quality alongside your Git provider's native code scanning alerts or insights.

How to configure the integration

  1. Log in to Code Reviews and select the relevant repository.

  2. Select the Settings tab, then Source control from the menu on the left.

  3. On the Source control settings page, scroll past the Connection and Default branch fields to the panel for your Git provider:

    • GitHub: Code Scanning Alerts

    • Bitbucket: Code Insights

  4. Toggle the switch to On.

  5. Select Apply to save your changes.

Once enabled, Code Reviews automatically pushes scan results for both branches and pull requests into your Git repository.


Did this answer your question?