Bitbucket
Connect Bitbucket Cloud to create workspaces from your Bitbucket projects and invite the people who commit to them.
The Bitbucket integration brings your Bitbucket Cloud projects into LeoPrevent: projects become workspaces with their repositories, and new repositories join the right workspace. Nothing is written to Bitbucket. Code is read only for repository context scans, on the repositories you turn them on for.
Available to Admins and Owners.
Connect Bitbucket#
- Open Integrations and select Bitbucket.
- Select Continue to Bitbucket.
- Sign in to Bitbucket Cloud and allow LeoPrevent to read your account, workspaces, projects and repositories.
The drawer then shows Connected, the Bitbucket account, what it can see, and who connected it and when.
Import projects#
Open Workspaces, select New workspace, then Import from GitHub, GitLab or Bitbucket. See Create and import workspaces.
To invite the people who committed recently, use Invite people in User management. See Invite people.
What LeoPrevent reads#
| Data | When |
|---|---|
| Workspace, project and repository names | Always. |
| Recent commit authors | When you invite people from Bitbucket. |
| Setup and configuration files | Only for repositories you turn context scans on for. |
Disconnect#
Select Disconnect in the Bitbucket drawer. Workspaces stop following Bitbucket projects, and context scans of Bitbucket repositories stop. Reviews from the plugin carry on. To remove access completely, also revoke LeoPrevent in your Bitbucket settings.