Bitbucket

Connecting a Bitbucket workspace and its repositories.

4 sections1 min read

Bitbucket connects through OAuth. As with GitLab, a connected repository is scanned, read, and fixed exactly like a GitHub one.

Connect a workspace

  1. 1
    Open the repositories page

    Go to cefense.com/app and choose Bitbucket.

  2. 2
    Authorise

    Bitbucket asks you to grant access. Signing in happens on Bitbucket.

  3. 3
    Connect a repository

    The repositories your account can reach are listed. Connecting one queues its first scan.

Repository access

Cefense sees what your Bitbucket account can see, across the workspaces you belong to. Losing access to a repository in Bitbucket removes it here as well.

What works, and the one thing that is GitHub only

CapabilityBitbucket
Scanning, findings, branches, commitsYes
Fix generation, pull requests, and mergingYes
Connecting a repository from the workspaceYes
Connecting a repository with cf repo connect --provider bitbucketYes
Authorising the Bitbucket account itselfIn a browser, as with every host
cf scan --urlGitHub only. Connect the repository, then cf scan.

Troubleshooting

A repository is missing

Check that your Bitbucket account has access to it, then disconnect and reconnect the account so Cefense refreshes the list.

The connection stopped working

Reconnect from the workspace. A revoked authorisation cannot be renewed silently.

Have a correction or need help?

Email the docs team