improvements: nits and remove console log

This commit is contained in:
Scott Wilson
2025-07-07 19:19:37 -07:00
parent 526e184bd9
commit 92147b5398
2 changed files with 5 additions and 7 deletions
@@ -103,8 +103,6 @@ export const registerSecretScanningV2Webhooks = async (server: FastifyZodProvide
if (!dataSourceId) return res.status(400).send({ message: "Data Source ID is required" }); if (!dataSourceId) return res.status(400).send({ message: "Data Source ID is required" });
console.log("111");
await server.services.secretScanningV2.bitbucket.handlePushEvent({ await server.services.secretScanningV2.bitbucket.handlePushEvent({
...(req.body as TBitbucketPushEvent), ...(req.body as TBitbucketPushEvent),
dataSourceId, dataSourceId,
@@ -6,7 +6,7 @@ description: "Learn how to configure a Bitbucket Connection for Infisical."
Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/api-tokens/) to connect with Bitbucket. Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbucket-cloud/docs/api-tokens/) to connect with Bitbucket.
<Tip> <Tip>
Infisical recommends creating a dedicated Bitbucket account with access restricted to only the repositories you want to scan. Infisical recommends creating a dedicated Bitbucket account with access restricted to only the resources your use case requires.
</Tip> </Tip>
## Create Bitbucket Access Token ## Create Bitbucket Access Token
@@ -26,8 +26,8 @@ Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbuck
Keep in mind that you'll need to manually replace the token after it expires. Keep in mind that you'll need to manually replace the token after it expires.
</Note> </Note>
</Step> </Step>
<Step title="Select 'Bitbucket'"> <Step title="Select Bitbucket">
Select 'Bitbucket' and then click **Next**. Select **Bitbucket** and then click **Next**.
![Select Bitbucket](/images/app-connections/bitbucket/step-3.png) ![Select Bitbucket](/images/app-connections/bitbucket/step-3.png)
</Step> </Step>
@@ -49,7 +49,7 @@ Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbuck
</Tab> </Tab>
</Tabs> </Tabs>
Click 'Next'. Click **Next**.
</Step> </Step>
<Step title="Copy Token"> <Step title="Copy Token">
@@ -70,7 +70,7 @@ Infisical supports the use of [API Tokens](https://support.atlassian.com/bitbuck
![App Connections Tab](/images/app-connections/general/add-connection.png) ![App Connections Tab](/images/app-connections/general/add-connection.png)
</Step> </Step>
<Step title="Select Bitbucket Connection"> <Step title="Select Bitbucket Connection">
Click the **Add new connection** button and select 'Bitbucket' from the list of available connections. Click the **Add new connection** button and select **Bitbucket** from the list of available connections.
</Step> </Step>
<Step title="Fill out the Bitbucket Connection Modal"> <Step title="Fill out the Bitbucket Connection Modal">
Complete the Bitbucket Connection form by entering: Complete the Bitbucket Connection form by entering: