Skip to main content

icon-developers.png Connect repos for open source library analysis

For open source library analysis, you can connect to the GitHub, BitBucket, or GitLab platform. Once you connect to any of these platforms, Contrast displays scan results in the Projects tab.

Note

Connections to Bitbucket and GitLab are available by request only. Contact Contrast Support to enable these connections.

Steps

  1. In the Contrast web interface, select the Projects tab.

  2. Select Add repository.

  3. To connect to GitHub, select the GitHub card. This option uses the Contrast Security GitHub App to connect with Contrast.

  4. To connect to BitBucket, select the BitBucket card. This option connects to your Bitbucket repository.

  5. To connect to GitLab, select the GitLab card. This option connects to your GitLab repository.

    You must have a GitLab Owner or Maintainer role to write the required variables into a GitLab repository.