mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 07:26:34 +00:00
improvements: nits and remove console log
This commit is contained in:
@@ -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**.
|
||||||
|
|
||||||

|

|
||||||
</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
|
|||||||

|

|
||||||
</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:
|
||||||
|
|||||||
Reference in New Issue
Block a user