Skip to content

Commit 8f6d4bb

Browse files
committed
refined steps based on jk doc
1 parent 3cfa60c commit 8f6d4bb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/deployment/connect-scm.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,21 @@ You have successfully connected an org in Semgrep AppSec Platform with an organi
139139
140140
<TabItem value='bitbucket-data-center'>
141141

142+
143+
1. Create an HTTP Access Token for your project following the steps outlined in [<i class="fas fa-external-link fa-xs"></i> Bitbucket Data Center documentation](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html). Ensure that the access token is created with `PROJECT_ADMIN` permissions.
144+
1. Copy the token for use in the next steps.
142145
1. Sign in to [<i class="fas fa-external-link fa-xs"></i> Semgrep AppSec Platform](https://semgrep.dev/login).
143146
1. Optional: If you have created more than one Semgrep account, select the account you want to make a connection for by clicking on the **Navigation bar > Your account name > The account you want to connect**.<br />
144147
<img src="/docs/img/more-accounts-dropdown.png" height="350px" />
145148
1. Go to **<i class="fa-solid fa-gear"></i> Settings** > **Source code managers**, and click **Add > Bitbucket Data Center**.
146149
1. In the **Connect your Bitbucket project (key)** dialog box, provide:
147150
- The **Name of your Bitbucket project (key)**. This must be the project key, which you can find by navigating to `<YOUR_BITBUCKET_DATA_CENTER_BASE_URL>/projects`.
148-
- The **URL** to access your installation of Bitbucket Data Center
151+
- The **URL** to access your installation of Bitbucket Data Center; this is your fully-qualified domain name.
149152
- The **Access Token** that grants Semgrep permission to communicate with your project. Semgrep expects an [HTTP access token](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html) with `PROJECT_ADMIN` permissions.
150-
2. Click **Connect** to save and proceed.
151-
3. The Bitbucket project is now listed under **Source code managers**. Click **Test** to verify that the new connection was installed correctly.
153+
1. Click **Connect** to save and proceed.
154+
1. The Bitbucket project is now listed under **Source code managers**. Click **Test** to verify that the new connection was installed correctly.
155+
1. To enable merge request comments, click **<i class="fa-solid fa-toggle-large-on"></i> Incoming webhooks**.
156+
1. Optional: Click **Auto scan** to onboard all current and future repositories under your project to Semgrep Managed Scanning.
152157

153158
</TabItem>
154159
<TabItem value='github-enterprise'>

0 commit comments

Comments
 (0)