Skip to main content
availability

Package: Invicti AppSec Core (on-demand), Invicti AppSec Enterprise (on-premise, on-demand)

Bitbucket

Prerequisites

Before you integrate Bitbucket, create an Invicti AppSec service account and make sure this user has access to the projects to be scanned.

Integration steps

  1. Sign in to Bitbucket Cloud.
  2. Click your profile icon in the top right corner.
  3. Click Account Settings.
  4. Click the Security tab and go to API Tokens.

  bitbucket new instance.

  1. Click Create and manage API tokens under the API Tokens section.

  bitbucket new instance.

  1. Enter a descriptive name for the token and set an expiration date.
  2. Select Bitbucket as the application.

  bitbucket new instance.

  1. Select the required scopes and create the token:
    • Read
      • read:issue:bitbucket
      • read:pullrequest:bitbucket
      • read:repository:bitbucket
      • read:user:bitbucket
      • read:workspace:bitbucket
    • Write
      • write:issue:bitbucket
      • write:pullrequest:bitbucket
  2. Copy the generated token and store it securely. You won't be able to see the token again after you leave the page.

  bitbucket new instance.

  1. Continue the process in the Invicti AppSec UI using the generated token.

  bitbucket new instance.

At this step, enter the token and click Test Connection.

Onboarding projects

After integration, you can synchronize projects from the Sync option next to the Activate button. This lets you onboard projects quickly.

  bitbucket new instance.

When you enable the Daily Sync feature, Invicti AppSec synchronizes projects from Bitbucket every day and automatically onboards all projects that haven't been onboarded yet. If your license project count is limited, don't enable Daily Sync. The available project quota may be consumed quickly, which can prevent you from adding new projects. :::


Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?