Skip to main content

Account connections

With the connection options at the top of the Projects grid, you can easily connect Contrast to your GitHub, Bitbucket, or GitLab repositories.

Connections.png

Once you connect to either platform, scan results will appear on the Projects grid in Contrast. You can manage individual connections row-by-row on the Projects page.

Note

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

GitHub

Click the GitHub icon ghanalysis.png to use the Contrast Security GitHub App to connect with Contrast.

Bitbucket

Connect to your Bitbucket repository to view scan results from Bitbucket files.

Connect to Bitbucket

Note

A test commit is performed by Contrast before adding the changes to the bitbucket-pipelines.

  1. Click the Bitbucket icon bitbucket.png.

  2. Select Configure to add projects to your workspace.

  3. Select Update to establish the connection.

Disconnect from BitBucket

  1. Click the Bitbucket icon bitbucket.png.

  2. Select Disconnect.

  3. Select the Disconnect button in the resulting window to disconnect all associated projects from Contrast.

    To disconnect individual projects, locate the row in the grid for the project you want to disconnect and click the Delete icon.

GitLab

Connect to your GitLab repository to view scan results from GitLab files.

Note

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

Connect to GitLab

  1. Click the GitLab icon gitlab.png.

  2. Select Configure to add projects to your namespace.

  3. Select Update to establish the connection.

Disconnect from GitLab

  1. Click the GitLab icon gitlab.png.

  2. Select Disconnect.

  3. Select the Disconnect button in the resulting window to disconnect all associated projects from Contrast.

    To disconnect individual projects, locate the row in the grid for the project you want to disconnect and click the Delete icon.